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
This commit is contained in:
Jens Harbott 2019-08-02 21:21:52 +00:00
parent cee6360a28
commit 86feb7916b

View File

@ -3,6 +3,6 @@
file:
path: "{{ logdir }}"
state: directory
owner: "{{ ansible_user }}"
owner: stack
group: "{{ ansible_user }}"
mode: 0775