added handlers and corrected dest path
This commit is contained in:
@@ -6,4 +6,9 @@
|
||||
- name: restart_snmpd
|
||||
service:
|
||||
name: "snmpd"
|
||||
state: restarted
|
||||
|
||||
- name: restart_unbound
|
||||
service:
|
||||
name: "unbound"
|
||||
state: restarted
|
||||
@@ -9,4 +9,5 @@
|
||||
dest: "/etc/unbound/unbound.conf.d/network.conf"
|
||||
mode: "0644"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
group: "root"
|
||||
notify: restart_unbound
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
- name: server | snmpd | copy distro script
|
||||
copy:
|
||||
dest: "/etc/snmp/distro/"
|
||||
dest: "/etc/snmp/distro"
|
||||
src: "distro"
|
||||
mode: "0755"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user