Ansible /w MikroTik is pretty cool! Automation is HUUUUGE!

preview_player
Показать описание
Seems like we are diving more and more into scripting and network automation. Definitely a different side to networking than what I am used to, however, this stuff is truly interesting! In this video I will be showcasing how to use Ansible with RouterOS and I will walk you through some of the basics components that make up Ansible. By the end of this video we will be creating our own Playbook to create MANY Vlans on a router.

Timestamps:
📙00:00 - Introduction
📙00:57 - Ansible Demonstration
📙05:14 - Ansible Overview
📙08:17 - Verify Installation
📙09:53 - Ansible.CFG file
📙11:01 - Ansible Inventory
📙12:40 - Ansible Playbooks
📙19:00 - Creating Playbook from scratch

Support the Channel:

Social Media:

MTCNA Playlist:

Thanks again for watching
Рекомендации по теме
Комментарии
Автор

God Damn. Your timing is perfect. I just got task to install 70 Mikrotiks. BIG THX !!!

TheBlenderXD
Автор

Omg is that Frostmourne in the background!?!?! Also, it is almost as if you are reading my mind and producing the videos I was thinking about. Keep up the great work, it helps me a lot :)

oliver
Автор

Are these tasks idempotent? Seems like it will run these commands no matter what. Then you have to query and check first before running. Then it's probably better to simply push the config and import it, right?

UPPERKEES
Автор

Great setup! Are you using management cloud net as a bridged adapter to your network to allow traffic from ubuntu to the lab? Or are you doing this with some sort of network inside of vmware workstation?

Great video by the way.

mmrk_
Автор

Do You have any video using ansible with Mikrotik rest api?

jobinuw
Автор

Im currently using Unimus, is this better?

carlosalbertoaguilar
Автор

Hello, please can you give me a link for video where you importing SSH key? I can't find it among your videos. Thank you.

tomaschvnc
Автор

Ansible Docs:


MikroTik Playbook Template:


(Note I called YAML files "Yet Another Machine Language" which is incorrect, this used to stand for "Yet Another Markup Language")

TheNetworkBerg
Автор

How do you open the HTML5 Console in EVE-NG in window mode? On my fresh EVE-NG instance it always opens a new tab.
AFAIK they use Guacamole in the background... Thanks for the video!

flove
Автор

Hi network berg,
i do believe there is a video about that. And If i remember well you spend +3 hours, and you didn't do it. On this video works well. I'm wondering what you was missing?

nikolashuminosky
Автор

is there a script to install and bootstrap management ip for a ros vm? i have trouble setup ros vm every 24 hrs by their license limitation.

深夜酒吧
Автор

could u add in ur playbook an exist checks i.e
1. check user exist or not
2. check gateway exist, otherwise it will keep adding gw if I rereun the playbook
3. check vlan exist
4. check "dhcp-server network" exist otherwise it will give failure

nbctcp
Автор

When i make an typo in an command, the playbook still gets executed. I expect to get an error output, but it executed "succesfull". Can someone verify that this is "normal" behaviour for ansible and microtic?

ryklebaron
Автор

ive avoided ansible so much.. personally it felt a bit too much like python+bash scripting.. and I got a lot further by writing declarative stuff in tools like terraform /juju instead .. but the thing missing from those tools is more networking stuff.. interesting to see how things have progressed in ansible but I still will likely try to keep to other stuff

hwynightkid
Автор

could u pls share ur playbook in github. so that I don't have to write from scratch. tq
could u increase ur font size so that I don't have to zoom it

nbctcp
Автор

But ansible with routeros module is a disaster. Simple SSH with keys doesn't work :/

est
Автор

Will Ansible support the new rest API in ROS7? Using the actual command line is a poor mans way of automating.... so many ways of fucking up if you dont do things in the correct order, or do some tasks too many times etc :D

sliddjur
Автор

YAML use to stand for Yet Another Markup Language, but it got "repurposed" to "YAML Ain't Markup Language"

RumenNikiforov