diff --git a/ansible/roles/coredns_docker_proxy/tasks/main.yml b/ansible/roles/coredns_docker_proxy/tasks/main.yml index 8945646..fb768ce 100644 --- a/ansible/roles/coredns_docker_proxy/tasks/main.yml +++ b/ansible/roles/coredns_docker_proxy/tasks/main.yml @@ -18,3 +18,11 @@ owner: "{{ docker_user.name }}" validate: docker-compose -f %s config 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