role must not be be named like a host

This commit is contained in:
2025-10-03 09:19:47 +02:00
parent ad53e1630f
commit fa0dd762a7
19 changed files with 28 additions and 28 deletions

View File

@@ -0,0 +1,15 @@
- name: webservers | 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: webservers | snmpd | configure extend
lineinfile:
path: "{{ snmpd_conf }}"
state: present
line: "extend nginx /etc/snmp/nginx"
insertafter: "# SECTION: custom settings"
notify: restart_snmpd