commit 3f943d3f0af74aa82843c726971ac84fd9da58c6 Author: Rottler Tamas Date: Sat Jun 10 23:01:12 2023 +0200 1 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: