From 02081304548d12b034576a70a4fdabf30220bc4a Mon Sep 17 00:00:00 2001 From: "stephane.david" Date: Sun, 16 Feb 2025 16:43:26 +0100 Subject: [PATCH] Remove -e option of echo command --- configure_snmpd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure_snmpd.yml b/configure_snmpd.yml index 56881db..2f37954 100644 --- a/configure_snmpd.yml +++ b/configure_snmpd.yml @@ -10,7 +10,7 @@ name: snmpd - name: Configure snmpd - shell : echo -e "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 + 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 - name: Restart snmpd.service shell : systemctl restart snmpd.service \ No newline at end of file