summaryrefslogtreecommitdiffstats
path: root/tasks/restart_unbound.yml
blob: caef730ae65744c1bac2bc9f118cbe7c37b2cfe3 (plain)
1
2
3
4
5
6
7
8
9
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