Ansible role configure basic mikrotik routeros device
- remote default admin user
- setup reboot / shutdown scheduler
- disable service telnet, ftp, www, api, api-ssl
- librouteros 3.0.0 python 3.6
- librouteros 2.4.0 python 2.7
Remember configure router os variable and install librouteros
-
routeros_secure_address
: trusted network for winbox connect Es: "10.0.0.0/24" -
routeros_ssh_port
: ssh open port Es: 3322 -
routeros_disable_password_login
: disable login with passowd [True/False] -
routeros_disable_old_cryptographic_login
: disable dsa and other old cryptographic alghoritm [True/False] -
routeros_timezone
: timezone Es: Europe/Rome
- Stefano Tamagnini
- markwell-ch replace schedulers with :execute commands
Are welcome!