diff options
Diffstat (limited to 'roles/nameservers/tasks/main.yml')
-rw-r--r-- | roles/nameservers/tasks/main.yml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/roles/nameservers/tasks/main.yml b/roles/nameservers/tasks/main.yml index c781ae7..96c6e7c 100644 --- a/roles/nameservers/tasks/main.yml +++ b/roles/nameservers/tasks/main.yml @@ -29,21 +29,21 @@ ## REPLICA -- name: create named.conf.local for replica - template: - src: ../templates/named.conf.local.replica.j2 - dest: /etc/bind/named.conf.local - owner: bind - group: bind - when: inventory_hostname in groups['dnsreplica'] - -- name: flush dns cache on replicas - file: path={{ item }} state=absent - with_fileglob: "/var/cache/bind/db.*" - when: inventory_hostname in groups['dnsreplica'] - -- name: restart bind9 - service: - name: bind9 - state: restarted - enabled: true + #- name: create named.conf.local for replica + # template: + # src: ../templates/named.conf.local.replica.j2 + # dest: /etc/bind/named.conf.local + # owner: bind + # group: bind + # when: inventory_hostname in groups['dnsreplica'] + # + #- name: flush dns cache on replicas + # file: path={{ item }} state=absent + # with_fileglob: "/var/cache/bind/db.*" + # when: inventory_hostname in groups['dnsreplica'] + # + #- name: restart bind9 + # service: + # name: bind9 + # state: restarted + # enabled: true |