changed role to webservers due to conflicting with hostnames
This commit is contained in:
1 parent
94b5c7e596
commit
e4c70fc4c9
17 files changed
+4
-4
No files matched your search
@@ -0,0 +1,15 @@
|
||||
- name: webserver | snmpd | get script
|
||||
get_url:
|
||||
url: "https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/nginx"
|
||||
dest: "/etc/snmp/nginx"
|
||||
mode: "0755"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
|
||||
- name: webserver | snmpd | configure extend
|
||||
lineinfile:
|
||||
path: "{{ snmpd_conf }}"
|
||||
state: present
|
||||
line: "extend nginx /etc/snmp/nginx"
|
||||
insertafter: "# SECTION: custom settings"
|
||||
notify: restart_snmpd
|
||||
Reference in new issue
Block a user