86feb7916b
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
9 lines
161 B
YAML
9 lines
161 B
YAML
- name: Ensure logdir exists
|
|
become: yes
|
|
file:
|
|
path: "{{ logdir }}"
|
|
state: directory
|
|
owner: stack
|
|
group: "{{ ansible_user }}"
|
|
mode: 0775
|