Skip to content
Simple Ansible playbook and role for setting a software channel and upgrading RouterOS on mikrotik devices
Branch: master
Clone or download
Nick Buraglio
Nick Buraglio remove the ubnt stuff
Latest commit 26477d9 Jul 21, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
roles/mikrotik-upgrade Initial commit Jul 21, 2019
LICENSE Initial commit Jul 21, 2019 Update Jul 21, 2019
ansible.cfg Initial commit Jul 21, 2019
hosts Initial commit Jul 21, 2019



Ansible playbook to set the software channel and update mikrotik devices


Why not? This is super simple and was a fun start to using the routeros module. It's also better to automate anything you need to do more than once, take humans out of the loop of repetitive tasks, and generally be more efficient. I couldn't find anything else using the routeros module that did this, either. Use it until something better comes along.


Install ansible. Clone the repo and adjust the variables, accounting for your own file hierarchy. Then run the command: ansible-playbook /etc/ansible/playbooks/mikrotik-upgrade.yml

To Do

Make this work serially down the list.

other stuff

Use anything I write at your own peril.

Thanks to Sam Oehlert for helping teach me the fundamentals.

Sometimes I put stuff on my website. You can contact me via email or Twitter or LinkedIN. I'm not always responsive in a timely manner and probably won't be able to help you do ansible stuff, but generally do eventually reply.

You can’t perform that action at this time.