From 037234304049fbab62954569469311c91fa3a4c5 Mon Sep 17 00:00:00 2001 From: "stephane.david" Date: Sat, 22 Nov 2025 17:26:21 +0100 Subject: [PATCH] Add update snmp follwing server change and IP Address for librenms serveur --- update_snmpd.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 update_snmpd.yml diff --git a/update_snmpd.yml b/update_snmpd.yml new file mode 100644 index 0000000..d0d3b4e --- /dev/null +++ b/update_snmpd.yml @@ -0,0 +1,8 @@ +- name: Update snmpd new ip address for librenms + hosts: all + tasks: + - name: Change IP + shell: sed -i s/192.168.1.30/192.168.100.30/gi /etc/snmp/snmpd.conf + + - name: Restart snmpd.service + shell: systemctl restart snmpd.service