Getting Started with the ios_config Ansible Module

preview_player
Показать описание
In under 30 minutes, get familiar with the Ansible ios_config module and how to specifically send global configuration commands to one or more network devices.

This video shows 4 ways to use the module:
(1) send commands that are embedded in the playbook
(2) send commands from a file
(3) send commands created directly from a Jinja2 template rendered in real-time
(4) create a commands file using the template module and then deploy with the ios_config module offering you the ability to view the file before sending.

Note: this level assumes some knowledge with Ansible, group_vars, and inventory files.
Рекомендации по теме
Комментарии
Автор

Far and away the best ios_config module video, or even network-focused Ansible video out there. Actually explains a lot of the underlying mechanics of what's happening, rather than just listening to person after person writing a 10 line playbook and glossing over what each actual keyword means, where are the variables drawn from, why are they accessed in that way, etc. Here's 4 different ways of accomplishing the same task and here's how each underlying method works etc. Awesome video. Well done man. I'm sure most of the people knocking out Ansible training videos either don't fully understand how it works themselves or they are very poor trainers.

qwerty
Автор

Can't wait to watch this in full and hope to see more network and Ansible stuff on this channel.

alreid
Автор

Brilliant. Thanks for in detail explanation.
P.s. my suggestion is to record smaller portion of the your desktop. I would say size of full screen as your open coding window. Because it's bit intensive when watching with 7" and smaller devices. Thank you in advance.

boolve
Автор

This is great Jason, please keep posting similar videos.. Thanks

omaram
Автор

Very good! Please keep doing more and more videos.

AndriusSelaudeLima
Автор

Excellent video! - how do you 'remove' commands using ios_config? example I have is to remove 1 syslog server host but keep all others regardless of what they are ie. no logging host 1.1.1.1

osmike
Автор

very good video, clear and informative! thanks Jason! only one question here: how the jinja file (snmp.j2) refer to the object on the variable file (all.yml)

taojiang
Автор

Thank you very much for thist a great vedio. I have all done, everything works good. but I have one porblem,
in the hosts file or what ever you call, in my case: inventory, i have 5 switches. but in the gorup SW[1:5] not all the devices get the configuration. 3 out of 5. when i repeat. the others get all config but sometimes 1 out 5 not.
when I make the command with --limit SW1 for every switch. every switch gets the config.
Do u know what the problem is? please help me.

firassissa
Автор

hey, can u assist me in writing playbook to assign ip addresses to multiple interfaces of multiple routers

jeevandalin
Автор

What happens if a router is unreachable? Will all fail?

georgesmith