changed role to webservers due to conflicting with hostnames

This commit is contained in:
2025-05-06 14:06:10 +02:00
parent 94b5c7e596
commit e4c70fc4c9
17 changed files with 4 additions and 4 deletions

View File

@@ -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