summaryrefslogtreecommitdiffstats
path: root/roles/common/handlers/main.yml
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2025-01-28 14:26:18 +0100
committerGuilhem Moulin <guilhem@fripost.org>2025-01-28 14:26:18 +0100
commit20cd6ac5299a725558a85df7c93c34f4a67b15d5 (patch)
treef5ed4fc68e9ff8b4e4f44db249285c7e0d5331d8 /roles/common/handlers/main.yml
parentbcae4845763a067cafaeb672f173ed810bacb242 (diff)
Resolver: Use systemd-resolved.
Diffstat (limited to 'roles/common/handlers/main.yml')
-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 bbaaef5..18462cb 100644
--- a/roles/common/handlers/main.yml
+++ b/roles/common/handlers/main.yml
@@ -12,40 +12,43 @@
apt: update_cache=yes
- name: Restart unbound
service: name=unbound state=restarted
- name: Update rkhunter's data file
command: /usr/bin/rkhunter --propupd
- name: Update firewall
command: /usr/local/sbin/update-firewall -c
- name: Restart fail2ban
service: name=fail2ban state=restarted
- name: Restart IPsec
service: name=ipsec state=restarted
- name: Restart rsyslog
service: name=rsyslog state=restarted
+- name: Restart systemd-resolved
+ service: name=systemd-resolved.service state=restarted
+
- name: Restart systemd-timesyncd
service: name=systemd-timesyncd state=restarted
- name: Restart ntp
service: name=ntp state=restarted
- name: Restart Postfix
service: name=postfix state=restarted
- name: Reload Postfix
service: name=postfix state=reloaded
- name: Restart bacula-fd
service: name=bacula-fd state=restarted
- name: Restart munin-node
service: name=munin-node state=restarted
- name: Restart freshclam
service: name=clamav-freshclam state=restarted