This commit is contained in:
ROTTLER Tamas 2023-06-10 23:01:12 +02:00
commit 3f943d3f0a

8
tasks/main.yml Normal file
View File

@ -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: