From 3f943d3f0af74aa82843c726971ac84fd9da58c6 Mon Sep 17 00:00:00 2001 From: Rottler Tamas Date: Sat, 10 Jun 2023 23:01:12 +0200 Subject: [PATCH] 1 --- tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tasks/main.yml diff --git a/tasks/main.yml b/tasks/main.yml new file mode 100644 index 0000000..34eb5e0 --- /dev/null +++ b/tasks/main.yml @@ -0,0 +1,8 @@ +--- +- name: configure snmp + community.routeros.command: + commands: + - "/snmp community set [ find default=yes ] authentication-password={{ snmppasswd }} authentication-protocol=SHA1 encryption-password={{ snmppasswd }} encryption-protocol=AES name={{ snmpuser }} security=authorized" + - "/snmp set enabled=yes" + +# vim: set tabstop=2 shiftwidth=2 expandtab smarttab: