Set correct permissions for rootwrap.d

Recursive task against /etc/cinder/rootwrap.d set directory permissions
to 0640 as well, which is not really valid. Also it was not idempotent
with dir creation from pre-install step.

Change-Id: Idbd09c78943d954f42f89acce40096c3754024be
This commit is contained in:
Dmitriy Rabotyagov 2024-04-30 20:55:07 +02:00
parent dc5845335d
commit cf3bb3b46b
2 changed files with 2 additions and 1 deletions

View File

@ -96,6 +96,7 @@
- path: "{{ glance_etc_dir }}/rootwrap.d"
owner: "root"
group: "root"
mode: "0750"
- path: "/var/cache/glance"
- path: "{{ glance_system_user_home }}"
- path: "{{ glance_system_user_home }}/cache"

View File

@ -152,7 +152,7 @@
path: "{{ glance_etc_dir }}/rootwrap.d"
owner: "root"
group: "root"
mode: "0640"
mode: "u=rwX,g=rX,o="
recurse: true
- name: Run the systemd mount role