Add dns tag for deploying DNS zone files

This commit is contained in:
Timo Makinen 2021-09-02 05:42:03 +00:00
parent 46c65a4ca3
commit 99afa71dc5
5 changed files with 5 additions and 0 deletions

View file

@ -77,6 +77,7 @@
mode: 0644 mode: 0644
owner: root owner: root
group: "{{ ansible_wheel }}" group: "{{ ansible_wheel }}"
tags: dns
notify: restart unbound notify: restart unbound
with_items: with_items:
- 20.172.in-addr.arpa - 20.172.in-addr.arpa

View file

@ -43,6 +43,7 @@
mode: 0644 mode: 0644
owner: root owner: root
group: "{{ ansible_wheel }}" group: "{{ ansible_wheel }}"
tags: dns
notify: restart unbound notify: restart unbound
with_items: with_items:
- 25.20.172.in-addr.arpa - 25.20.172.in-addr.arpa

View file

@ -22,6 +22,7 @@
mode: 0644 mode: 0644
owner: root owner: root
group: "{{ ansible_wheel }}" group: "{{ ansible_wheel }}"
tags: dns
notify: restart unbound notify: restart unbound
with_items: with_items:
- 24.20.172.in-addr.arpa - 24.20.172.in-addr.arpa

View file

@ -45,6 +45,7 @@
mode: 0644 mode: 0644
owner: root owner: root
group: "{{ ansible_wheel }}" group: "{{ ansible_wheel }}"
tags: dns
notify: restart unbound notify: restart unbound
with_items: with_items:
- 26.20.172.in-addr.arpa - 26.20.172.in-addr.arpa

View file

@ -43,6 +43,7 @@
mode: 0640 mode: 0640
owner: root owner: root
group: _nsd group: _nsd
tags: dns
notify: restart nsd notify: restart nsd
with_items: "{{ nsd_zones }}" with_items: "{{ nsd_zones }}"