ansible-playbooks/dns/dns-configupdate.yml

13 lines
402 B
YAML

---
- user: root
hosts: dnsservers
gather_facts: no
tasks:
- name: update dns-infrastructure git repo
git: repo=git@bitbucket.org:staticsafe/dns-infrastructure.git dest=/etc/bind/dns-infrastructure version=debian-master update=yes accept_hostkey=yes
notify:
- reload nameserver daemon
handlers:
- name: reload nameserver daemon
action: service name=bind9 state=reloaded