diff options
author | Aaron LI <aly@aaronly.me> | 2018-02-24 16:55:04 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-03-14 11:28:44 +0800 |
commit | 30724d5f9f13530d7d81a51e6b040970bab49c00 (patch) | |
tree | 088857c66f3acc49f23a206934420b13b55a3a52 /roles/dns/handlers | |
parent | cc494d798101e59b6d43e0e8f68aacee8483c20d (diff) | |
download | ansible-dfly-vps-30724d5f9f13530d7d81a51e6b040970bab49c00.tar.bz2 |
dns: reload unbound/nsd instead of restart
Diffstat (limited to 'roles/dns/handlers')
-rw-r--r-- | roles/dns/handlers/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/dns/handlers/main.yml b/roles/dns/handlers/main.yml index aab63c8..196bbea 100644 --- a/roles/dns/handlers/main.yml +++ b/roles/dns/handlers/main.yml @@ -2,5 +2,11 @@ - name: restart-unbound command: rcrestart unbound +- name: reload-unbound + command: rcreload unbound + - name: restart-nsd command: rcrestart nsd + +- name: reload-nsd + command: rcreload nsd |