summaryrefslogtreecommitdiffstats
path: root/roles/common/handlers
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2018-12-03 03:45:59 +0100
committerGuilhem Moulin <guilhem@fripost.org>2018-12-03 03:46:28 +0100
commit07c1734d2c00ce0a52830533b19a02faed678364 (patch)
tree917dca1d878e96c1ef28fced837a9059ed7dd765 /roles/common/handlers
parent5ad9fc5e963b9a461f60799d7f185a9e2e13522f (diff)
Install unbound on metal hosts.
(A validating, recursive, caching DNS resolver.)
Diffstat (limited to 'roles/common/handlers')
-rw-r--r--roles/common/handlers/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/common/handlers/main.yml b/roles/common/handlers/main.yml
index 36f744e..dc6c457 100644
--- a/roles/common/handlers/main.yml
+++ b/roles/common/handlers/main.yml
@@ -11,6 +11,9 @@
- name: apt-get update
apt: update_cache=yes
+- name: Restart unbound
+ service: name=unbound state=restarted
+
- name: Update rkhunter's data file
command: /usr/bin/rkhunter --propupd