9 lines
380 B
YAML
9 lines
380 B
YAML
---
|
|
- 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:
|