Fix permissions.

This commit is contained in:
yohan 2024-09-28 14:46:56 +02:00
parent c9a46d73d4
commit 55faff8321

View File

@ -27,6 +27,7 @@
ansible.builtin.template:
src: "{{ item }}.j2"
dest: "/mnt/volumes/etc_internal_named/data/{{ item }}"
setype: container_file_t
become: true
with_items:
- named.conf
@ -49,6 +50,6 @@
- 127.0.0.1:53:53/tcp
- 127.0.0.1:53:53/udp
volume:
- /mnt/volumes/etc_internal_named/data:/etc/bind:Z
- /mnt/volumes/var_cache_internal_named/data:/var/cache/bind:Z
- /mnt/volumes/etc_internal_named/data:/etc/bind:z
- /mnt/volumes/var_cache_internal_named/data:/var/cache/bind:z
become: true