Fix custom config idempotence

When some custom config files are used, generation of local
configuration for Kolla Ansible is not idempotent. This happens because
an executable permission is applied recursively in a directory, then
reverted on regular files.

Change-Id: I8cc9531570b76a8282a95c4036324e9d1025d7cb
This commit is contained in:
Mark Goddard 2022-02-15 15:11:23 +00:00
parent 37a9e87041
commit 8de9d53681
2 changed files with 4 additions and 1 deletions

View File

@ -91,7 +91,6 @@
- name: Ensure extra configuration parent directories are present
file:
path: "{{ item.0.item.dest }}/{{ item.1.path | relpath(item.0.item.src) | dirname }}"
recurse: true
state: directory
mode: 0750
with_subelements:

View File

@ -0,0 +1,4 @@
fixes:
- |
Fixes an issue with idempotence of local Kolla Ansible configuration
generation.