Actually install Corefile
This commit is contained in:
parent
f0bf44be26
commit
ac17b9723b
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue