roles/named: Restart daemon after modifying config
The `named` daemon does not seem to pick up all changes to the configuration file during a graceful reload. To avoid strange states, the daemon is now fully restarted after the configuration file is regenerated.jenkins-master
parent
f5b922265b
commit
7191903801
|
@ -21,7 +21,7 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: named
|
group: named
|
||||||
validate: named-checkconf %s
|
validate: named-checkconf %s
|
||||||
notify: reload named
|
notify: restart named
|
||||||
|
|
||||||
# TODO: What about other OS/init setups?
|
# TODO: What about other OS/init setups?
|
||||||
- name: ensure named environment variables are set
|
- name: ensure named environment variables are set
|
||||||
|
|
Loading…
Reference in New Issue