added handlers and corrected dest path
This commit is contained in:
@@ -6,4 +6,9 @@
|
|||||||
- name: restart_snmpd
|
- name: restart_snmpd
|
||||||
service:
|
service:
|
||||||
name: "snmpd"
|
name: "snmpd"
|
||||||
|
state: restarted
|
||||||
|
|
||||||
|
- name: restart_unbound
|
||||||
|
service:
|
||||||
|
name: "unbound"
|
||||||
state: restarted
|
state: restarted
|
||||||
@@ -9,4 +9,5 @@
|
|||||||
dest: "/etc/unbound/unbound.conf.d/network.conf"
|
dest: "/etc/unbound/unbound.conf.d/network.conf"
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
owner: "root"
|
owner: "root"
|
||||||
group: "root"
|
group: "root"
|
||||||
|
notify: restart_unbound
|
||||||
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user