Skip to content

Gives you the possibility to distribute your ssh key on any Mikrotik device reached via a network using ansible.

Notifications You must be signed in to change notification settings

VStepulo/mikrotik-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mikrotik-ansible

Gives you a possibility to distribute your ssh key on any Mikrotik device reached via a network.

Pre-requirements:

  1. You need to have Mikrotik device with SSH service enabled (IP - Services)

  2. Edit and enter your IP and credentials in ./inventory/hosts file

  3. Generated or installed id.rsa.pub key in your $HOME/.ssh/ dir.

  4. Install required RouterOS community modules from Ansible galaxy:

    user@Ubuntu:~/mikrotik-ansible$ ansible-galaxy collection install -r requirements.yml

Run playbook by command:

user@Ubuntu:~/mikrotik-ansible$ ansible-playbook play.yml

TODO:

Creating backups. Update version.

About

Gives you the possibility to distribute your ssh key on any Mikrotik device reached via a network using ansible.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published