Fix ownership change in stage-output

If the stage_dir/logs directory was a symlink, Ansible would refuse
to perform the chmod.  However, if we tell Ansible that it is a
directory, it's fine.  This (perhaps curiously) does not tell
Ansible to turn the symlink into a directory.  It just tells it
that everything is okay.

Change-Id: Idbd78b97b95ce50b23dda8f384e32359d31013e3
This commit is contained in:
James E. Blair 2019-02-05 09:32:02 -08:00
parent bc5372817b
commit dd8c88354e
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@
- name: Make all log files readable
file:
state: directory
dest: "{{ stage_dir }}/logs"
mode: u=rwX,g=rX,o=rX
recurse: yes