From 83027d18a310176a88627159be39ac5c7cd8cd25 Mon Sep 17 00:00:00 2001 From: "stephane.david" Date: Sun, 16 Feb 2025 17:14:08 +0100 Subject: [PATCH] Add osupdate script --- configure_snmpd.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure_snmpd.yml b/configure_snmpd.yml index 2f37954..34de6f8 100644 --- a/configure_snmpd.yml +++ b/configure_snmpd.yml @@ -9,6 +9,11 @@ ansible.builtin.apt: name: snmpd + - name: Get osupdate script + ansible.builtin.fetch: + src: /utils/osupdate + dest: /etc/snmp/ + - name: Configure snmpd shell : echo "agentAddress udp:161,udp6:[::1]:161\nrocommunity public default -V systemonly\nrwcommunity manage 192.168.1.30\nrwcommunity manage localhost\nrocommunity6 public default -V systemonly\nsysLocation SDA Corporation/Internet Server/\nsysContact thedarty@gmail.com\nextend osupdate /etc/snmp/osupdate" > /etc/snmp/snmpd.conf