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