Actually install Corefile

This commit is contained in:
Jake Howard 2024-11-18 21:53:46 +00:00
parent f0bf44be26
commit ac17b9723b
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -18,3 +18,11 @@
owner: "{{ docker_user.name }}" owner: "{{ docker_user.name }}"
validate: docker-compose -f %s config validate: docker-compose -f %s config
notify: restart coredns notify: restart coredns
- name: Install Corefile
template:
src: files/Corefile
dest: /opt/coredns/Corefile
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
notify: restart coredns