dns/tasks/slave.yml

15 lines
356 B
YAML
Raw Permalink Normal View History

2019-04-16 14:53:34 +00:00
# roles/bind/tasks/master.yml
# Set up a BIND slave server
---
- name: Slave | Main BIND config file (slave)
template:
src: slave_etc_named.conf.j2
dest: "{{ bind_config }}"
owner: "{{ bind_owner }}"
group: "{{ bind_group }}"
2021-10-22 08:53:28 +00:00
mode: "0640"
2019-04-16 14:53:34 +00:00
setype: named_conf_t
2021-10-22 08:53:28 +00:00
validate: "named-checkconf %s"
2019-04-16 14:53:34 +00:00
notify: reload bind
tags: bind