Update update_snmp.yml to change to new librenms serveur
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
tasks:
|
tasks:
|
||||||
- name: Change IP
|
- name: Change IP
|
||||||
shell: sed -i s/192.168.1.30/192.168.100.30/gi /etc/snmp/snmpd.conf
|
shell: sed -i s/192.168.100.30/192.168.100.0\/24/gi /etc/snmp/snmpd.conf
|
||||||
|
|
||||||
- name: Restart snmpd.service
|
- name: Restart snmpd.service
|
||||||
shell: systemctl restart snmpd.service
|
shell: systemctl restart snmpd.service
|
||||||
|
|||||||
Reference in New Issue
Block a user