get started with Ansible Network Automation (FREE cisco router lab)

  Рет қаралды 225,442

NetworkChuck

NetworkChuck

Күн бұрын

Пікірлер: 191
@NetworkChuck
@NetworkChuck 4 жыл бұрын
Start studying for the CCNP ENCOR: bit.ly/ccnp-cbt Get started with the CCNA: bit.ly/cbtccna ➡️Checkout ALL my training at CBT Nuggets: bit.ly/nc-cbt-2020 (what is Ansible???: kzbin.info/www/bejne/a5nclKyoYp14gdU) Let's start automating your network devices with Ansible: FREE CISCO ROUTER 1: bit.ly/devnet-rtr1 FREE CISCO ROUTER 2: bit.ly/devnet-rtr2 Ansible Playbook Example: bit.ly/devnet-yml ➡️Support NetworkChuck: bit.ly/2XPaF7u ➡️Need help? Join the community: bit.ly/nc-discord
@sadniks
@sadniks 4 жыл бұрын
L
@horroroaths7686
@horroroaths7686 3 жыл бұрын
I watch all your videos I was just watching one before I went to this video
@afara2000
@afara2000 3 жыл бұрын
Thanks for sharing. A quick hit about vi editor: if you're looking for a specific word or string within a large file, instead of scrolling up and down to find that string, just press ":/" without quotes and type desired string after / and hit enter. It will take cursor to first occurrence of that string. Then you hit "n" key (short for next) to jump through all other occurrences of that string. This may save you some time in the future.
@FaLkraydz
@FaLkraydz 5 ай бұрын
Idk if you still check out comments on your old videos, but when I'm burned out, you save me. I always feel more motivated after watching a video on your channel, and that works for any video. Thanks, man.
@binsitt
@binsitt 4 жыл бұрын
Awesome! For some reason I was afraid of Ansible and this little tutorial replaced my fear with HUGE interest.
@Randystites66207
@Randystites66207 3 жыл бұрын
I use Ansible everyday for a VERY large company and LOVE IT!!!
@mrasim78
@mrasim78 3 жыл бұрын
Hats Off! For some reason I was afraid of Ansible and this little tutorial replaced my fear with HUGE interest.
@Flamadiddle2
@Flamadiddle2 3 жыл бұрын
Video is pure gold, thank you! However, I spent hours troubleshooting why mine wouldn't work. In the end I realized I could not even access the Cisco environments with putty so tip for anyone having trouble, make sure you can access/login to the Cisco devices via SSH before tearing your hair out! Not sure why but the next morning I was able to login and Voila! success! The Tiger King lives!
@anaschehbouni8699
@anaschehbouni8699 4 жыл бұрын
Missed your old intro music, each time I return back to see one of your old videos to listen to it hhhhh it's just amazing !!
@KaranSingh-or7yy
@KaranSingh-or7yy 4 жыл бұрын
Now , this kind of videos I like the most. Short and crisp. 👌👌 Not that _LONG_ movies of 1 hr you make.
@Jimmy_Jones
@Jimmy_Jones 4 жыл бұрын
Sometimes 1 hour movies are necessary
@deus5215
@deus5215 4 жыл бұрын
Keep up with the videos! You're making me feel so relaxed. Just listening you teach us
@Randystites66207
@Randystites66207 3 жыл бұрын
Ansible can be made to do EVERYTHING!!!
@kennethvanallen4492
@kennethvanallen4492 2 жыл бұрын
I love your energy - it makes following the material so much easier!
@K2_Chris
@K2_Chris 2 жыл бұрын
FYI, you need to tell it to save the config. If the switch has lost of power, the configs will not stick. You need to issue: - name: Save running-config ios_config: save_when: modified OR - name: Save running-config ios_command: commands: wr
@chuxTube68
@chuxTube68 4 жыл бұрын
Great vid, Chuck! Been fighting Ansible for a minute.. I really need to dig in deeper.. Thanks for all the great content :)
@saurabhsharma7123
@saurabhsharma7123 4 жыл бұрын
I owe a LOT to you. You make these intricate things, soooo easy to grasp and make me fall in love with them. Really appreciate the efforts, you put in, to make these high quality content. 😍😍
@jmhm17
@jmhm17 4 жыл бұрын
Check out CBT Nuggets, almost all the trainers are just as relatable. I owe a good chunk of my career to these guys..
@tomkonidas7253
@tomkonidas7253 4 жыл бұрын
In vi instead of Going into insert mode and deleting the pound, you can just stay in command mode and press x over the character you want to remove
@bensdad03
@bensdad03 4 жыл бұрын
You can also use colon and x to save and quit - it does the same as colon wq
@kjakobsen
@kjakobsen 4 жыл бұрын
I have Cisco 890 router, switch and WLC with two 1702I APs.for my home network. I will definitely need to use this! :) Thank you for your work.
@YoungGrizzly
@YoungGrizzly 4 жыл бұрын
Thanks for this. I have a web development project I am doing for the ISP that I work for that will be using nodejs and ansible to create configs and more. This was a big help in thinking of design for that project. Now I know what I have to build to generate all the pieces needed for ansible.
@NetworkChuck
@NetworkChuck 4 жыл бұрын
Awesome!! That sounds like a fun project.
@YoungGrizzly
@YoungGrizzly 4 жыл бұрын
@@NetworkChuck sure is. Thanks again for the great content. My colleagues and I love your videos.
@myob2k
@myob2k 4 жыл бұрын
Thanks for bringing our favorite music back. Great inspirational videos.
@unwrittentemplate6165
@unwrittentemplate6165 4 жыл бұрын
You are really providing quality information & doing it in a great way! Keep it up
@89arijit
@89arijit 4 жыл бұрын
Thanks mate. Please upload more videos on network automation examples using ansible.
@Pickle_Surpr1se
@Pickle_Surpr1se Жыл бұрын
Longtime network engineer here, great job very clear and concise 👍
@NicMG
@NicMG 4 жыл бұрын
Apparently you can use Ansible with WinRM and Chocolatey package manager for Windows. Would love to see some content on that.
@yanlevyexperience
@yanlevyexperience 4 жыл бұрын
Thank you, Sir Chuck, network automation is definitely the next step for my network. This will definitely help with backing up network devices.
@airsofttrooper08
@airsofttrooper08 2 жыл бұрын
Thanks, this other lab had me adding ssh keys on literally all the nodes for a fr*ckin practice lab. drove me up a wall
@cubeflinger
@cubeflinger 3 жыл бұрын
Hey Network Chuck! Newbie to your channel. Loving the beard. Loving the content. Loving the presentation .You're a credit to the industry, like a young Jeremy Cioara.
@urielr6285
@urielr6285 2 жыл бұрын
I went from fear to interest on this. I thought it was gonna be much more complex.
@eddieoconnor4466
@eddieoconnor4466 4 жыл бұрын
Just a note?...when I turned on "Line Numbering" the entry you mention?..was at line 71.....I guess it might be different for others if they have larger monitors or extend their window borders...but that's where it was for me...
@Chattin-rv3fq
@Chattin-rv3fq 4 жыл бұрын
Can you show a clip where you use vault so you are not storing a PW in plan text?
@suleimanadow
@suleimanadow 4 жыл бұрын
Amazing stuff, ansible after all is not this esoteric tool. Thanks a bunch Network Chuck.
@zachariamosete8945
@zachariamosete8945 2 жыл бұрын
Thanks Chuck Please do saltstack demo
@williwild8923
@williwild8923 4 жыл бұрын
Nice Video guy. Chen using vi it is possible to remove a character using the command x by just hitting x. It is not required to go to vi‘s insert mode. Just see this as a small hint. Regards. 👍
@2SaltyRecipes
@2SaltyRecipes 2 жыл бұрын
I'd love to see a video how to deal with SSH keys and ansible.
@humbertovalverdevalverde396
@humbertovalverdevalverde396 4 жыл бұрын
Awesome , please more videos of Ansible for network devices 🙏🏻💪🏻
@nitinchandna3016
@nitinchandna3016 2 жыл бұрын
Thank you for the input on how to start with Ansible. I did follow the logic and created my own lab with AOScx images. I am looking for some guidance to get over a challenge where the ansible module loaded on Ubuntu is unable to ping the switch. I can do both ping & ssh from Ubuntu to switch but it's not working via the ansible module. ansible version- [core 2.12.2] Python= 3.8.10 jinja ver= 2.10.1
@Aminur48
@Aminur48 4 жыл бұрын
Great Lab Chuck,
@jeffersonumana4137
@jeffersonumana4137 4 жыл бұрын
@NetworkChuck, I'm trying to erase this symbol "#" that you say in the minute 3:23, but the editor don't let me do it. It says "Error writing ansible.cfg: Permission denied". What can I do in this situation? I'm using Centos 8.1 on a VM in a VMWare Workstation 15 player. Thanks for your answer in advance.
@NetworkChuck
@NetworkChuck 4 жыл бұрын
Run your editor with sudo. “sudo vi ansible.cfg”
@Foysalisp
@Foysalisp 2 жыл бұрын
Wow Great! Tutorials Thank you so much.
@kracksmith4ejm1
@kracksmith4ejm1 4 жыл бұрын
this example does one command to many, but if you have many different commands to many different network devices, how would you implement that without doing this to each many different command?
@bimatube1274
@bimatube1274 Жыл бұрын
I’m not fan these tools! It only works for easy stuff, when it comes to more complex networks it simply do not work.
@pushparajgothandam8527
@pushparajgothandam8527 3 жыл бұрын
Thanks for all the great content :)
@muhammad.rafi2012
@muhammad.rafi2012 4 жыл бұрын
another good video but you probably forget to add initial step and i know why because you were using the sandboxes but you probably should have mentioned that we need to enable the SSH on the target devices and allowed the ssh via firewall if there is any in there before you can make the ansible to play its magic, hope it makes sense, not correcting you but adding the point.
@rufi6043
@rufi6043 4 жыл бұрын
Yeah I got into that ssh connect issue - Can you please clarify how do I enable the SSH on the target devices and allowed the ssh via firewall ?
@kracksmith4ejm1
@kracksmith4ejm1 4 жыл бұрын
what does the absent function do, backing out of implemented command prior?
@Mustash-Tony
@Mustash-Tony 8 ай бұрын
I should've known by the CCNP plug that this was beyond my level of expertise. It would be cool if these videos came with a hard level (beginner, Intermediate, advanced).
@blackivy011
@blackivy011 3 жыл бұрын
Couldn't you just use something like Cisco Prime Infrastructure to get all this information and manage these routers and switches? I get that it's an expensive appliance tho... Is Ansible free? Thanks for your videos
@kimeangsuon
@kimeangsuon 4 жыл бұрын
If we apply configuration wrong to managed devices, does any impact ?
@chrisumali9841
@chrisumali9841 4 жыл бұрын
Thanks for the demo and info, Network_Chuck, have a great day.
@jacquesmaree3424
@jacquesmaree3424 2 жыл бұрын
The first router did not work
@johnj.dineen3965
@johnj.dineen3965 4 жыл бұрын
Chuck, have you ever heard of Autonomous, A.I., Machine learning controlled IPS because hackers are using AI to attack systems. Sounds really Kool, supposed to be a reaction time that is "up to 300 times faster" than the whole IT Staff.
@sharandeepdoel7016
@sharandeepdoel7016 4 жыл бұрын
you're awesome. I want to learn ansible with your video tutorial.
@mazouexrtyu7412
@mazouexrtyu7412 4 жыл бұрын
hi, could you please share cisco network troubleshooting playbooks? (like those used in cbt videos)
@CYBERINSIGHT
@CYBERINSIGHT 4 жыл бұрын
Checked out the other Ansible video you dropped the other day. Pretty solid! What have you found to be the interplay between Satellite and Ansible? I assume not much from a networking perspective.
@Michael201078
@Michael201078 3 жыл бұрын
Thanks a lot! Good explanation.
@piyush42962
@piyush42962 2 жыл бұрын
Hi. It was really simple and I had a great learning experience. Do devnet provide us lab access for cisco firewall devices. If yes, please help us to set up all rules using ansible.
@perarne1387
@perarne1387 4 жыл бұрын
This guy is the Internet with beard (his beard is the VPN)
@NorthStar420
@NorthStar420 4 жыл бұрын
Per Arne Kleiven Jensen ..no
@siroussayahi7972
@siroussayahi7972 3 жыл бұрын
Great job! You saved my time :)
@stankogrbic4248
@stankogrbic4248 3 жыл бұрын
How did you log into router at 12.15. im trying to ssh but i cant
@yassinebadrou7434
@yassinebadrou7434 4 жыл бұрын
Merci pour ce partage énorme, toutefois ce qui me cause le problème c'est comment émuler cet environnement, autrement dit ces routeurs auquels vous vous connectez sont des vrais ou juste emulés sous GNS3, et si oui, comment vous pouvez ajouter une machine linux sur GNS3 pour installer ansible. Merci
@yassairfopa3044
@yassairfopa3044 Жыл бұрын
il y'a des appliances network automation disponible sur le market place de gns 3 avec ansible deja installé , ou encore à defaut , vous pouvez installer une vm sur votre pc , y deployer ansible , et importer l'applicance sur gns3 , puis faire le mapping de l'interface eth2 a du cloud de la gns3vm avec le pont qu pc et faire pareil sur la vm ainsi ils pourront communiquer directement . vous pouvez aussi le faire directement via le cloud gns3 sans importer la vm sous gns3 elle communiquera quand meme avec gns3
@borismattos1521
@borismattos1521 4 жыл бұрын
Thanks a lot for this video, really helpful. But when I try to run this playbook I get an error: FAILED! => {"changed": false, "msg": "operation requires privilege escalation"} . Any comments about this? By the way ansible.cfg and hosts are configured the way you did it.
@victoriajohnson9625
@victoriajohnson9625 4 жыл бұрын
Great video! You mentioned that Ansible is a push model .. Is there a tool at the ansible quality level that's tailored to the pull model and is good at pulling information from configurations or performance monitoring statistics in network devices?
@TheLORDNIGHTSHIELD
@TheLORDNIGHTSHIELD 4 жыл бұрын
For one who wants to understand what is Ansible, it is better to study it separately. For example, one can learn how to automate Linux administration tasks (create user, directory, deploy software). There is a good documentation on Ansible, and nice course by Sander. Such topics like modules, arguments, and especially roles, are not that easy. For example - yum module by Ansible works with Python 2, but dnf need Python 3. Ansible itself may take 2-3 months to learn and half a year to practice it to master. It is nice to learn a tool at least on beginner level, prior jumping to work.
@LYESSINHO10
@LYESSINHO10 3 жыл бұрын
Does someone knows what is the song in the beginning of the video? I love it
@oldshield
@oldshield 4 жыл бұрын
Question: do you think there is a way to use this to go thru all wan interfaces and maybe trunks to modify the description to add a piece of text like the word MON to indicate monitor this interface and keep the rest of the description that is already there? I am using a monitor tool which if i use a keyword in the interface description i can have it automatically add to a group in this tool. The issue is this is a legacy enterprise network and I need to do this for like 18k interfaces. Any new interfaces have this word at the beginning of the description, it is just the things that have been out there for years i would like to touch thru some automation.
@kevishgurriah7735
@kevishgurriah7735 4 жыл бұрын
Any vids when using bastion hosts chuck??
@fontainenick
@fontainenick 4 жыл бұрын
Did you know that you can do :x instead of :wq in vi to do the same thing?
@ogaffarov
@ogaffarov 4 жыл бұрын
great. definitely going to try this
@axelosio8510
@axelosio8510 4 жыл бұрын
How much of this is required for CCNA?
@EoeSantinny
@EoeSantinny Жыл бұрын
This was great easy straight to the point but some much details!
@eugenewong6425
@eugenewong6425 2 жыл бұрын
awesome love it
@domferris9963
@domferris9963 2 жыл бұрын
Ansible was great, til cli templates came out which is basically just the ansible playbooks built right into your controller managing switches and APs, For firewalls, I’d rather use terraform
@malkta1
@malkta1 4 жыл бұрын
Hello dear Chuck, well done .. please do you run Ubuntu in docker container or VM ? Keep up the good work :-)
@MrHawk407
@MrHawk407 4 жыл бұрын
Chuck, can you please tell me where i can download your start up BGM, Thank you.
@ksummersill
@ksummersill 4 жыл бұрын
Had to run this command in order for it to work. "interface" ansible routers -m ios_command -a "commands='show ip interface brief'"
@amayanabotoruyanabo7133
@amayanabotoruyanabo7133 3 жыл бұрын
you solved it but no time to teach any one how can some one learn and master ansible commands and yaml commands as well ?
@12q8
@12q8 4 жыл бұрын
Do you think you will switch to Linux as your main OS in the future?
@jj-icejoe6642
@jj-icejoe6642 4 жыл бұрын
Link for routers on devnet are broken....
@jovanigonalez
@jovanigonalez 4 жыл бұрын
Are you running ansible on a Raspberry Pi?
@NO-FILTER-EXPERT
@NO-FILTER-EXPERT 4 жыл бұрын
I HAVE LINUX on windows and Ansible installed - everytime i turn on my computer and run linux, the command line starts in linux. What command do i type to start Ansible from linux command line
@WanderleiFan1
@WanderleiFan1 4 жыл бұрын
Is there a difference between name the file as .yml and .yaml? I was trying to get another script to run that kept failing and one of the only differences I noticed was it was a .yaml file.
@bengrogan9710
@bengrogan9710 Жыл бұрын
I expect you already have the answer after so long, but just in case anyone else is looking - some OS only play nice with 3 character file extensions
@Tuan.LPM1902
@Tuan.LPM1902 4 жыл бұрын
it's really usefull thanks for sharing bro
@gineesh
@gineesh 4 жыл бұрын
Sound and clear.. thanks for this. Could you please share if there is a good way to manage HP switches using Ansible ? Tried, cli_command, raw, all those but didnt help
@NetworkChuck
@NetworkChuck 4 жыл бұрын
Ansible would need a module for it to work. Not sure if they have one.
@gineesh
@gineesh 4 жыл бұрын
@@NetworkChuck oh okay.. Thanks for replying. Yeah, I used some but seems not maintaining those and not working with latest Ansible version. Also posted here; in case anyone can help. stackoverflow.com/questions/62386546/ansible-modules-for-hp-switches-comware-7
@marvinjoseph.8337
@marvinjoseph.8337 4 жыл бұрын
hey chuck, is powershell worth learning too
@codenoob9325
@codenoob9325 4 жыл бұрын
It should be on your radar. It'll add value to your inventory
@allybiggs5423
@allybiggs5423 4 жыл бұрын
You should create your own freelance IT training video site :) get some of the dudes who comment to do videos.
@pavankumars9410
@pavankumars9410 4 жыл бұрын
I'm getting an error!!! After I execute this command--> ansible routers -m ios_command -a "commands='show ip int brief'" Can someone Help me out? Error: ios-xe-mgmt.cisco.com | FAILED! => { "changed": false, "msg": "[Errno -2] Name or service not known" } ios-xe-mgmt-latest.cisco.com | FAILED! => { "changed": false, "msg": "[Errno -2] Name or service not known" }
@nessd665
@nessd665 4 жыл бұрын
is this something you cal also do in Eve NG, I know you can do it with Gns3 but not sure about other similar software. Great video by the way, I'm going through devnet now, this is for sure the future/present of networking
@everett5252
@everett5252 4 жыл бұрын
yes, this can be done in EVE NG.
@pjguibord
@pjguibord 4 жыл бұрын
@NetworkChuck - Being a Cisco super-fan, have you used Cisco NFO vs. Ansible
@dhanasekar-uj2ch
@dhanasekar-uj2ch 4 жыл бұрын
I have a query in my scenario i have to enter ssh password and after that i have to enter enable password, both input should be prompted while run the playbook can you help on this
@MeneGR
@MeneGR 4 жыл бұрын
I think that is the purpose of the "Become" keyword: docs.ansible.com/ansible/latest/user_guide/become.html#become-network
@Nickle314
@Nickle314 Жыл бұрын
:x is shorter than :wq - vi tip of the day
@josephk6373
@josephk6373 3 жыл бұрын
is he just making those commands up? sure looks that way
@elonlothbrok5991
@elonlothbrok5991 3 жыл бұрын
network Peter Dinklage looking good
@xguidosan
@xguidosan 4 жыл бұрын
amazing! thanks a LOT!
@gabimassi8265
@gabimassi8265 4 жыл бұрын
great, thank you... 🙏🏻🙏🏻🙏🏻
@da9888
@da9888 3 жыл бұрын
What Is the intro song for this video?
@nukebase4188
@nukebase4188 2 жыл бұрын
Banner: You've been hacked loool
@fabrice9848
@fabrice9848 4 жыл бұрын
Why can't we just type : ansible routers -m ios_command -a "show ip int brief" ?
@LARKXHIN
@LARKXHIN 4 жыл бұрын
For the first minute I was watching to see if that coffee would spill.
@QuinnFavo
@QuinnFavo 4 жыл бұрын
haahaha me too XD
@gagandeep6812
@gagandeep6812 4 жыл бұрын
Can you make a video on OpenWISP? It is an open-source network management tool.
@Bleachiiigo
@Bleachiiigo 4 жыл бұрын
It's for NMS isn't it?
@malkta1
@malkta1 4 жыл бұрын
Is it possible to install / run Ansible inside Ubuntu itself running in docker container please ?
@geoptus
@geoptus 3 жыл бұрын
Yes definitely - check out this YT vid that shows exactly that: kzbin.info/www/bejne/naDGnZmma8Zlf7M
@apscandy
@apscandy 4 жыл бұрын
Can you use this for Ubiquiti?
@djd34d14
@djd34d14 4 жыл бұрын
Dude. Why are you using vi like it's nano? If you know what you're looking for use / If you want to simply delete a single character, use x while still in normal mode. You could've stayed in normal that whole first session. Capital G to jump to end of file in the second session.
@authenticknowledge9349
@authenticknowledge9349 4 жыл бұрын
I am planning to become a pentester. Do you believe I should go for the CCNA Cert series or CompTIA net+ and security+? Basically I am asking if I should invest more in my network knowledge(ccna, ccnp in R&S +Security etc) or just go for the network+ and Security+ from CompTIA. Thanks
you need to learn Ansible RIGHT NOW!! (Linux Automation)
21:21
NetworkChuck
Рет қаралды 899 М.
Cisco IOS Automation with Ansible
31:22
Kevin Wallace Training, LLC
Рет қаралды 57 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
DO NOT design your network like this!! // FREE CCNA // EP 6
19:36
NetworkChuck
Рет қаралды 3,4 МЛН
Puppet for Network Engineers (CCNA and CCNP Automation)
18:01
NetworkChuck
Рет қаралды 82 М.
Access ANY Network (remotely)
22:02
NetworkChuck
Рет қаралды 203 М.
Automating my Homelab with Ansible
13:18
Jeff Geerling
Рет қаралды 348 М.
Fundamentals of Network Automation
1:29:59
Kevin Wallace Training, LLC
Рет қаралды 52 М.
What is Ansible?
11:06
IBM Technology
Рет қаралды 188 М.
What is a SWITCH? // FREE CCNA // Day 1
23:22
NetworkChuck
Рет қаралды 1,6 МЛН
Automate EVERYTHING with Ansible! (Ansible for Beginners)
18:31
Techno Tim
Рет қаралды 247 М.
you need to learn Kubernetes RIGHT NOW!!
29:34
NetworkChuck
Рет қаралды 1,2 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН