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

@@ -7,3 +7,8 @@
service: service:
name: "snmpd" name: "snmpd"
state: restarted state: restarted
- name: restart_unbound
service:
name: "unbound"
state: restarted

View File

@@ -10,3 +10,4 @@
mode: "0644" mode: "0644"
owner: "root" owner: "root"
group: "root" group: "root"
notify: restart_unbound

View File

@@ -57,7 +57,7 @@
- name: server | snmpd | copy distro script - name: server | snmpd | copy distro script
copy: copy:
dest: "/etc/snmp/distro/" dest: "/etc/snmp/distro"
src: "distro" src: "distro"
mode: "0755" mode: "0755"