Attempt to run the restart_unbound sequence on reboot if necessary.
This commit is contained in:
parent
efae484554
commit
faa0561ffb
3 changed files with 20 additions and 8 deletions
10
tasks/restart_unbound.yml
Normal file
10
tasks/restart_unbound.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Restart unbound after reboots.
|
||||
|
||||
- name: set selinux permissive
|
||||
selinux: policy=targeted state=permissive
|
||||
|
||||
- name: restart unbound
|
||||
service: name=unbound state=restarted
|
||||
|
||||
- name: set selinux back to enforcing
|
||||
selinux: policy=targeted state=enforcing
|
Loading…
Add table
Add a link
Reference in a new issue