diff options
author | Jens Harbott <j.harbott@x-ion.de> | 2019-08-02 21:21:52 +0000 |
---|---|---|
committer | Jens Harbott <j.harbott@x-ion.de> | 2019-08-03 12:06:32 +0000 |
commit | 86feb7916b6a69a7d4076cb3fc59e392ab1b73c1 (patch) | |
tree | 214bcbe21e087cd690f35bb558bcc8df050c876b /roles | |
parent | cee6360a28f6e82b543840af6e1128edea47faaa (diff) | |
download | neutron-86feb7916b6a69a7d4076cb3fc59e392ab1b73c1.tar.gz |
Fix log directory permissions for functional job
After [0] devstack no longer changes the ownership of the whole
/opt/stack tree to the stack user unconditionally. So we need to create
/opt/stack/logs with the correct owner directly.
[0] https://review.opendev.org/203698
Change-Id: I4597c83bfce6267ef93bb8f7b0de62fa3ac94db4
Closes-Bug: 1838811
Diffstat (limited to 'roles')
-rw-r--r-- | roles/setup_logdir/tasks/main.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/setup_logdir/tasks/main.yaml b/roles/setup_logdir/tasks/main.yaml index 53a5e5ab15..c1ef214a8a 100644 --- a/roles/setup_logdir/tasks/main.yaml +++ b/roles/setup_logdir/tasks/main.yaml @@ -3,6 +3,6 @@ file: path: "{{ logdir }}" state: directory - owner: "{{ ansible_user }}" + owner: stack group: "{{ ansible_user }}" mode: 0775 |