]> git.phdru.name Git - ansible.git/blobdiff - playbooks/debian/roles/add-dns-domain/tasks/main.yml
Feat: Gather facts and use default IPv4 address
[ansible.git] / playbooks / debian / roles / add-dns-domain / tasks / main.yml
index 8837d99520ad463e1c431e9506b0cb0d3aeb3051..422f28ecd3edd1350ec3bd15575ee3dcbe7cba52 100644 (file)
 - name: Update config
   become: true
   shell: |
-echo '
+    echo '
 
-zone "{{ domain }}" {
-      type master;
-      file "/etc/bind/{{ domain }}";
-      allow-query { any; };
-      notify yes;
-};
-' >> /etc/bind/named.conf.local
+    zone "{{ domain }}" {
+          type master;
+          file "/etc/bind/{{ domain }}";
+          allow-query { any; };
+          notify yes;
+    };' >> /etc/bind/named.conf.local
 
 
   when: not domain_exists.stat.exists