3 path: "/etc/bind/{{ domain }}"
4 register: domain_exists
6 - name: Copy domain template
10 dest: "/etc/bind/{{ domain }}"
15 when: not domain_exists.stat.exists
24 file "/etc/bind/{{ domain }}";
28 ' >> /etc/bind/named.conf.local
31 when: not domain_exists.stat.exists
38 when: not domain_exists.stat.exists