This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
lilik_playbook
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
use sighup to force dnsmasqd to reload /etc/hosts
python3
Andrea Cimbalo
8 years ago
parent
be3bf0f5cc
commit
46779deaf7
1 changed files
with
2 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
roles/dns_record/tasks/main.yaml
+ 2
- 2
roles/dns_record/tasks/main.yaml
View File
@ -6,7 +6,7 @@
delegate_to
:
gandalf2
delegate_to
:
gandalf2
register
:
hosts
register
:
hosts
-
name
:
restart
dnsmasq
shell
:
"/etc/init.d/dnsmasq restart
"
-
name
:
dnsmasq
force hosts reload
command
:
"killall -HUP dnsmasq
"
delegate_to
:
gandalf2
delegate_to
:
gandalf2
when
:
hosts.changed
when
:
hosts.changed
Write
Preview
Loading…
Cancel
Save