Browse Source

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
changes/92/634992/1
James E. Blair 10 months ago
parent
commit
dd8c88354e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      roles/stage-output/tasks/main.yaml

+ 1
- 0
roles/stage-output/tasks/main.yaml 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

Loading…
Cancel
Save