Use a designate specific directory for the bind persistent storage

Give the designate bind instance it's own persistent storage path to
avoid collisions with non-tripleo-owned bind instances.

Change-Id: Id05b48c97d5d9f2cdeba5dfad67616bf97b7fcae
This commit is contained in:
Brent Eagles 2021-11-08 15:54:38 -03:30
parent a402c7982f
commit 7f04caaf46
1 changed files with 2 additions and 2 deletions

View File

@ -138,13 +138,13 @@ outputs:
- /var/lib/kolla/config_files/designate_backend_bind9.json:/var/lib/kolla/config_files/config.json:ro
- /var/lib/config-data/ansible-generated/designate:/var/lib/kolla/config_files/src:ro
- /var/log/containers/designate:/var/log/designate:z
- /var/named-persistent:/var/named-persistent:z
- /var/lib/designate/named-persistent:/var/named-persistent:z
environment:
KOLLA_CONFIG_STRATEGY: COPY_ALWAYS
host_prep_tasks:
- name: create persistent named directory
file:
path: /var/named-persistent
path: /var/lib/designate/named-persistent
state: directory
setype: container_file_t
mode: '0750'