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.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user