added handlers and corrected dest path

This commit is contained in:
rene
2022-03-23 19:47:54 +01:00
parent 738004280b
commit 6b974c5633
3 changed files with 8 additions and 2 deletions

View File

@@ -6,4 +6,9 @@
- name: restart_snmpd
service:
name: "snmpd"
state: restarted
- name: restart_unbound
service:
name: "unbound"
state: restarted

View File

@@ -9,4 +9,5 @@
dest: "/etc/unbound/unbound.conf.d/network.conf"
mode: "0644"
owner: "root"
group: "root"
group: "root"
notify: restart_unbound