Тёмный

Ansible Network Modules | ios_conifg, nxos_config, cli_command 

Roger Perkin
Подписаться 14 тыс.
Просмотров 13 тыс.
50% 1

Опубликовано:

 

29 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@SadhamHussainsree
@SadhamHussainsree 2 года назад
Fantastic
@rpratt7990
@rpratt7990 2 года назад
Hi Roger, great content. I have a dumb question, how do you figure it out to install ubuntu and still run EVE-NG over VM in windows ?. I tried it a couple of times but in my tries, I usually lose the use of VM to run EVE-NG
@victormelo1141
@victormelo1141 4 года назад
Hello Roger.. Thank you for your time to creating this video I have been following this video..but you forgot to explain how to configure the visual studio code to work with ansible.. Most of us come from network backgrounds..and visual studio is part of DevOps..Not networking.. Can you please explain that part, please?
@RogerPerkin
@RogerPerkin 4 года назад
There is not much to explain? VSC is just a code editor, like a fancy notepad. I just use it to edit the code and then run it from the terminal. Let me know if you want it explained more, but tbh there is nothing else to it
@richardlazaro6969
@richardlazaro6969 2 года назад
Hi Roger , maybe you can help me design a playbook in ansible. Design policy (1) .Issue CLI commands to the ACI device and save the output to a log. The commands to be acquired form 4 groups so that the group of commands can be divided into groups. -Commands you want to retrieve are listed in a text file for each group. - The log creates a folder of playbook execution timing and store it in a file by command. - A playbook collects multiple parts and aggregates them into one playbook by Role.
@D35TR00
@D35TR00 4 года назад
Gr8 video. Is there a way to have ansible save those nx-os configs somewhere else like gitlab or github?
@RogerPerkin
@RogerPerkin 4 года назад
Ansible saves the configs to a local folder and then you can decide how you archive them? Pushing them to gitlab would be a good video - I will add it to the list. Setting up Gitlab for an on site repository for configs
@D35TR00
@D35TR00 4 года назад
@@RogerPerkin Awesome!! I will keep an eye out for the video. I have my notifications enabled for this channel.
@subhasreeachyuta1461
@subhasreeachyuta1461 4 года назад
Hello Roger, thanks for the video. But i got stuck with banner. When user login to connect to device post entering id, banner will come post that it's getting stukked and throwing an error. Could you please suggest me on this.
@RogerPerkin
@RogerPerkin 4 года назад
Take a look at the IOS Banner module docs.ansible.com/ansible/latest/modules/ios_banner_module.html
@ashusworld8960
@ashusworld8960 4 года назад
Hello Roger, Am working on Nexus compliance and I could successfully get the compliance report for AAA, Tacacs, username, ACL's, NTP from the existing N3k, N5k, N7k and N9k devices. But i couldn't write a playbook to fetch the trunk Interfaces (eth/po) configured with syntax 'spanning-tree port type edge trunk' from the existing configuration. Please suggest
@RogerPerkin
@RogerPerkin 4 года назад
You will probably have to use a bit of Regex to pull the config and then fish out what you are looking for. Take a loot at this NTP example - the concept is the same ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-UGrCBBljkKg.html Assume you want to find all interfaces that are configured like this - or not configured like this?
@shibasishbanerjee6036
@shibasishbanerjee6036 4 года назад
Hi Roger - It is a great video. Looking for an Eve-NG configuration video for Various Cisco and other Vendor devices
@RogerPerkin
@RogerPerkin 4 года назад
Are you looking for video on how to setup devices in Eve-NG?
@shibasishbanerjee6036
@shibasishbanerjee6036 4 года назад
@@RogerPerkin I am looking for video to deploy various Cisco and Other device in EVE-NG
@veereshsanadi9802
@veereshsanadi9802 4 года назад
If all switches having Privileged Mode (enable) password. How to write playbook?
@ankitkulshresta
@ankitkulshresta 4 года назад
so your userid should have "privileged mode 15" so it will not ask for enable password.
@sathisha4456
@sathisha4456 4 года назад
Hi Roger , Ansible is working on cisco switches? because your all videos is covered only cisco Routers.
@RogerPerkin
@RogerPerkin 4 года назад
Yes, Ansible will work just the same for cisco switches
@sathisha4456
@sathisha4456 4 года назад
​@@RogerPerkin Thankyou !.
@vishalkanojia1983
@vishalkanojia1983 4 года назад
HI ROGER, NYC WORK, CAN U PUT THIS SCRIPTS ON GITHUB FOR REFERENCE?
@RogerPerkin
@RogerPerkin 4 года назад
Thanks Vishal, everything I've got is here - github.com/rogerperkin/network-programmability
@chrisnavarro5122
@chrisnavarro5122 2 года назад
Hi Roger, how about Junos devices ?
@RogerPerkin
@RogerPerkin 2 года назад
For other vendors you just need to find that vendors modules, most have them. An understanding of how to configure those devices is required before you start to automate them
@Joey-vw3ei
@Joey-vw3ei 3 года назад
Hello Mr Perkin, i use Ansible Tower and i have use the script. I cann save the config files from Cisco Switches theres no Problem, now i have a Problem by Nexus Router to save the config Files. fatal: [10.x.x.x]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/libexec/platform-python"}, "changed": false, "msg": "unable to elevate privilege to enable mode, at prompt [b'\\xxxx-xxxxxxxx# '] with error: failed to elevate privilege to enable mode still at prompt [b'\\xxx-xxxxxxx# ']"} when i start the console to connect to the Nexus i come in and the Nexus is in enable mode, i don´t need a comand ena. I hope you can help me by this Problem. Greeting Joe
@sathisha4456
@sathisha4456 4 года назад
Hi Roger , we have using cisco switch on telnet port. how to communicate ansible playbook with telnet port on switch.? Because Ansible playbook has running on SSH port default. I have tried to run on ansible playbook on telnet switch , but error message has displayed on "Un-reachable on your switches....". How to solve this issue? Thanks !..
@RogerPerkin
@RogerPerkin 4 года назад
You cannot connect to a switch using Telnet with Ansible. If you are locked in and cannot change your switches to SSH then you need to be looking at a pure Python script
@sathisha4456
@sathisha4456 4 года назад
@@RogerPerkin Thank you! for your reply. So, If Ansible playbook run on Cisco device , should be switch connect to the SSH port. This is Correct?
@RogerPerkin
@RogerPerkin 4 года назад
@@sathisha4456 Yes, you should be running SSH to connect to your switches and this is how Ansible connects also.
@sathisha4456
@sathisha4456 4 года назад
@@RogerPerkin Thank you !. for your reply. my another question. why used to pure Python script? and how to used python script as soon as could not be change my switches to SSH?
@RogerPerkin
@RogerPerkin 4 года назад
@@sathisha4456 Just subscribe to my channel on turn on notifications as I will be uploading some videos on using Python very soon
@ibrata3389
@ibrata3389 4 года назад
Out of date playbook. With current Ansible version this playbook wouldn't work.
@RogerPerkin
@RogerPerkin 4 года назад
Can you expand on your statement? Why would the playbook not work? This is running on Ansible 2.8.5
@arifpatel6516
@arifpatel6516 4 года назад
Roger Perkin - Hi Roger, I am your Big fan after I found your channel on RU-vid . Your great efforts and absolutely generously giving your valued training materials help to Network Engineers all over the world.... I was searching for Ansible training on global internet..... Since I found your video course my search has finally end..... Greatly Greatly appreciated your valued time and help to the world....
Далее
Cisco IOS Automation with Ansible
31:22
Просмотров 53 тыс.
Ansible Playbook for Cisco IOS Upgrade
18:48
Просмотров 22 тыс.
МЕГА ФОКУС С ЧИПСАМИ
00:42
Просмотров 283 тыс.
Каха заблудился в горах
00:57
Просмотров 5 млн
Ansible Network Automation
1:02:52
Просмотров 73 тыс.
Managing 15,000 network devices with Ansible
35:55
Просмотров 45 тыс.
This web UI for Ansible is so damn useful!
20:07
Просмотров 466 тыс.
Ansible for Network Configuration Templates
21:02
Просмотров 59 тыс.