Ansible Network Automation
Vložit
- čas přidán 8. 08. 2024
- Learn how to use Ansible to automate Cisco IOS network devices. This is the future: Network Automation using Ansible and Python. If you want to be a network engineer in future, you need to learn Cisco DevNet and automation technologies.
Menu:
0:00 ▶ Welcome
0:12 ▶ Who is Donald?
1:00 ▶ Books that Donald wrote
1:22 ▶ What is Ansible and why is it recommended?
2:27 ▶ Idempotency
3:50 ▶ Create a project
4:20 ▶ Create a hosts.ini file
5:00 ▶ Agent vs agentless / puppet vs ansible
7:40 ▶ What does Ansible use to connect to devices
17:40 ▶ New / Better way of doing things (hosts.yml)
23:20 ▶ Which is better?
24:01 ▶ Global ansible.cfg file
27:30 ▶ Never use tab
27:55 ▶ Create a repository
30:20 ▶ Do you need to use Gi
30:35 ▶ Is Linux recommended? Or is Windows ok?
31:24 ▶ Can you use a Mac?
31:52 ▶ Redo the process using public github
35:34 ▶ Files on github
36:02 ▶ Copy files to the Ansible server
37:55 ▶ Create a virtual environment
38:38 ▶ Install Ansible
41:40 ▶ Check the ansible docs
43:55 ▶ Run Ansible adhoc commands
46:20 ▶ What did ping do?
47:50 ▶ What is an Ansible playbook
48:20 ▶ Create Ansbile playbook
53:09 ▶ Run Ansible Playbooks
56:06 ▶ Add an IP address
Code: github.com/the-packet-thrower...
Amazon books: amzn.to/2Wm639i
================
Connect with me:
================
Discord: / discord
Twitter: / davidbombal
Instagram: / davidbombal
LinkedIn: / davidbombal
Facebook: / davidbombal.co
TikTok: / davidbombal
CZcams: / davidbombal
=================
Connect with Donald:
=================
LinkedIn: / the-packet-thrower
Blog: the-packet-thrower.com/
GitHub: github.com/the-packet-thrower...
ansible
devnet
cisco devnet
ansible automation
network automation
python
Please note that links listed may be affiliate links and provide me with a small percentage/kickback should you use them to purchase any of the items listed or recommended. Thank you for supporting me and this channel!
#ansible #devnet #ccna - Věda a technologie
Hey David, Thank you so much for taking the time to educate us all. Appreciate your hard work !!
Thank you David. Somehow everytime Im researching something you upload a video related to it, this is amazing
(Yes, I needed guidance on Ansible this week)
Glad it was helpful!
Hey David..many thanks for how you have been guiding us fellow network engineers.. you are the one and only..thanks again..I certainly look upto your content day in day out.. Cheers!!
This awesome, been thinking on how to get started with Ansible, David to the rescue. Can't wait to see more!
Menu:
0:00 ▶ Welcome
0:12 ▶ Who is Donald?
1:00 ▶ Books that Donald wrote
1:22 ▶ What is Ansible and why is it recommended?
2:27 ▶ Idempotency
3:50 ▶ Create a project
4:20 ▶ Create a hosts.ini file
5:00 ▶ Agent vs agentless / puppet vs ansible
7:40 ▶ What does Ansible use to connect to devices
17:40 ▶ New / Better way of doing things (hosts.yml)
23:20 ▶ Which is better?
24:01 ▶ Global ansible.cfg file
27:30 ▶ Never use tab
27:55 ▶ Create a repository
30:20 ▶ Do you need to use Gi
30:35 ▶ Is Linux recommended? Or is Windows ok?
31:24 ▶ Can you use a Mac?
31:52 ▶ Redo the process using public github
35:34 ▶ Files on github
36:02 ▶ Copy files to the Ansible server
37:55 ▶ Create a virtual environment
38:38 ▶ Install Ansible
41:40 ▶ Check the ansible docs
43:55 ▶ Run Ansible adhoc commands
46:20 ▶ What did ping do?
47:50 ▶ What is an Ansible playbook
48:20 ▶ Create Ansbile playbook
53:09 ▶ Run Ansible Playbooks
56:06 ▶ Add an IP address
Code: github.com/the-packet-thrower/davids-ansible-public
Amazon books: amzn.to/2Wm639i
Learn how to use Ansible to automate Cisco IOS network devices. This is the future: Network Automation using Ansible and Python. If you want to be a network engineer in future, you need to learn Cisco DevNet and automation technologies.
================
Connect with me:
================
Discord: discord.com/invite/usKSyzb
Twitter: twitter.com/davidbombal
Instagram: instagram.com/davidbombal
LinkedIn: www.linkedin.com/in/davidbombal
Facebook: facebook.com/davidbombal.co
TikTok: tiktok.com/@davidbombal
CZcams: czcams.com/users/davidbombal
=================
Connect with Donald:
=================
LinkedIn: www.linkedin.com/in/the-packet-thrower
Blog: the-packet-thrower.com/
GitHub: github.com/the-packet-thrower/davids-ansible-public
ansible
devnet
cisco devnet
ansible automation
network automation
python
Please note that links listed may be affiliate links and provide me with a small percentage/kickback should you use them to purchase any of the items listed or recommended. Thank you for supporting me and this channel!
#ansible #devnet #ccna
Thanks for having me on David!
Thank you for this Donald! And thank you for your patience getting this published 😀
I am working on CCNA exam and looking for some good content about Ansible. Thank you David, you're my life saver.
Soon we reach 1 Million CZcams family. Can't wait for that beautiful moment😍😍
Thank you so much Vishal
Great video! Looking forward to more on Ansible. Thanks for making this great content available.
Thank you, David so much for this Video, I'm a Network Engineer, and today my company will deploy Automation tools, and I'm trying to train myself on ANSIBLE, Keep uploading these topics.
Thank you for this David, I would like to think that for an 1h video you get a lot more views but I'm pretty sure its quite the opposite. Because of that I want to thank you even more, because for the few ones that stayed the whole hour this can help tremendously.
-Very good to see you teaching together as I said in Discord several times Donald is one of the best professionals I've ever had the opportunity to meet...!!!
-Now all that's left is for Kevin to do a class like that too...!!!
-Thanks for the knowledge always professors David Bombal and Donald Robb...!!!
Thanks! We got plenty more down the pipe!
@@ThePacketThrower -Donald create a VyOS and CloudStack course please...!!!
-I'm studying alone and it would be nice to have a course on Udemy with Labs and one programming using in base the VyOS certification.
@@educastellini Might be a good idea, I just did the VyOS cert last month!
Thank You David and Donald for this Informative Video.
This is an excellent video on Ansible. Look forward to more of these.
Woohoo New Ansible/Network Automation content, Thanks David and Donald
You're welcome Craig!
Great video, I would like to see video series about Ansible, not only with network devices but also servers.
Thank you David Bombal for the wonderful session.
You're welcome!
I love watching your videos David, always great content.!!! I learn a lot from your videos.!!!
Glad you like them!
Nice video, can’t wait until the next one 👍
This video was awesome, I got Ansible set up within CML on an ubuntu server and it was a great way to practice network automation within a lab enviroment, really enjoyed this video.
Thank you so much, David Sir for your hard effort.
Just made My afternoon. Thanks David
Great video!!!! Thank you very much.
Waiting for the next
Good job
Another great video, please publishes more about ansible, python and other automation tools. Thanks
Thank you sir, I am from India and I don't have enough money to buy a course or learn hacking you help me a lot 💓
Good sharing thanks David!
David sir ,super excited for ansible 👍👍
My most favourite topics 🥰🥰 Thanks David sir ❤️💗
Always great content. Super challenging though just setting up the lab. I'd like to see a video on just setting up the lab. I'm trying to follow along, but I'm stuck installing pycharm on my ubuntu vm. I'm going to update each step of the way and document it as well!! Thanks David B.!!!!!!!!!
David = Google for network engineers.
lol... thank you!
I enjoyed it but it's very hard ...
I will keep watching till I understand everything...
I appreciate your efforts to help us.. I am really getting inlove with IT....
cant wait for tomorrow giveaway and thanks David for the huge effort
This is a great video, so helpful, thanks a lot
Thank you very much, Sir David
thank you Boss David....this is great..
Nice one sir.
Your videos inspired me to pursue programming as a carrier
Network automation is where we 're going , it is where the world is looking at....... every network engineer nowaday has to learn about Network Automation..................
First one to watch it David hope to know me . Still watching and enjoying the video......
Thank you David ❤️
Awesome content
Sit thank you for the amazing video
you are my idol and mentor and its my wish to meet you one day in my life . your content is amazing sir i learn everything from you and now i become a hacker because of you thanks sir.
Thanks David, much appreciated.
I am trying to find part 2 as Donald mentioned but I couldn't find it.
Amazing!
Thanks for helping us
Thankyou David sir
Nice session. Thanks David. Was there a follow-up session after this?
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
Hello David sir !!!
How are you ??//
It's a big conversation ahh!!
Thank you once again!!
You're welcome!
Thank you 🙏😊
Great 👍
Thank you!
Hi David, really enjoyed this video, have you done any further Ansible stuff with Donald?
Super content
Nice work, any estimate of when the next with Ansible Vault will be posted? Thanks
Great video! Thanks for sharing.
I work in an isp company and actually in the middle of a project where I use ansible exactly as shown in this video.
My ansible playbooks will eventually provision new orders coming from our erp system and will configure business customer's connections through our network. Ansible will do a lot of heavy lifting to setup L2, vlans, ip addresses...etc in our infrastructure. Fun project! Looking forward to get more ideas to upgrade my playbooks from you videos series.
I would appreciate if you would consider demonstrate best practice to gather facts, save them (SQL DB maybe) and then run the playbook based on those variables.
@@RayBitton We'll get there!
Awesome Thank you M.r
You are very welcome
Thank you Sir, expecting more content on the Devnet / Automation
I'll see what I can do 😀
🔥🔥🔥
sir, I recommend you also start your interview podcast on Spotify
Good content sir❤️
But make video on how to install andrax or any linux in phone without rooting pls
I love this video. Tho I am wondering... Why would we want to install ansible in a virtual python env, in a virtual machine? or even on a physical machine?
good tutorials. How much is the book?
hi david in our country Ethiopia with in aa comming years there will be a demand of certified network engineer for telecomunication due to two international telecomunication infrastructure investeres have been win to expand the infrastructure so how do pass the interview quation of this organization and where area shall i focuse to be skillfull for their organization to be selected ? thank you David Bombal
Ansible vs Terraform... What do you use? What do you recommend to major first, taking into account that I am a network engineer, but getting into cloud.
Ansible is generally more useful for networking stuff, Terraform is meant for building resources rather than configuring them
YAML supports tab, but I think PyCharm may not. No issues in VSCode, but that may also be the YAML VSC extension.
Sir please help me out, after taking in mind my goal is to being penetration tester so please 🙏 tell me that should I go first for learning networking or programming??????? 🙏 please sir help me out.
I'm very curious how he setup his Pycharm. Mine looks completely different and I don't know how to set it up like his, or of that even matters.
First comment 😁✌️
Thank you sir! Can I use ansible for non Cisco Devices?
Yup!
HI David ! question : do you recommend taking RHCSA after completing CCNA? i really like linux but i feel that everything is cisco based so im thinking RHCSA might be not the best option after CCNA...? 🤔
David please show us how to make trojans
No5 to like the video.
if one has VMware Workstation, what would one need to run a virtual Router, as your guest was doing?
ty bombal
Goeie Middag! @David Bombal van Kaapstad :) Just wanted to know what Cisco Routers and Switches you are currently using in your home and work/Professional. How can I access Cisco IOS'es (Routers+Switches including emulator to run it) as well as the Cisco IP communicator softphone. (I know about Packet Tracer, EveNG, GNS3, Viral)
The best way is to buy CML
❤️
Hi David ...Could you please refer the book for Network automation with Ansible and python.....? i would like to purchase and planning to start read...pls if any one knows assist with the name of book which available in Amazon or other online source to purchase.
Will there be a part 2?
Does anyone know if there's a application to work through this kind of labs, like testing a router, switches, fir3 walls?. I dont have any access to physical devices like the mentioned above
You could use CML for Cisco devices. Or GNS3 or EVE-NG if you want multivendor.
@@davidbombal I'll check them out. Thank you!
@@davidbombal CML can be multi-vendor too!
Agreed, but then you have to pay for CML. But with GNS3/EVE-NG you could create networks for free (without Cisco & depends on vendor).
Woowww...
First time on top 50 comments.
Thank you for your support!
Can I start learning Ansible with VS code ?
Hey
ansible=python=love=)
Just wait till we get to Nornir :)
First !!
So did Orson Scott Card also predict the rise of a Hegemon and a Hivequeen, hopefully that part isn't in my lifetime lol
First!
Hi sir iam 2nd
He mentions Ansible Vault for encrypting passwords tho every tutorial I see online about how to setup the config files always shows people using clear text. and yaml not supporting tab.. wow
so ..... when is the next video on this? :-)
Hello sir
First....
Who is this guy? We want Meow Meow!
Meow!
someone tell bro to look into the camera 😭
My python CZcams hacking script works!
Thank you so much David again for the willingness to always help and educate your audience, but I have to be honest for a moment here, as soon as this guy started describing himself as expert on this, expert on that, SME, SME, I don't know you all, but his attitude reflected two red flags for me, 1) gleams personal insecurities 2) whatever he demonstrate here will end up disappointing you and on the long run disappoint himself as well... why would you put yourself in that position...total lack of humbleness, This is one of the very few videos posted by David in which I tried very hard not to stop watching it, especially around minute 34:10...
SME is common term in American companies who is referred to someone knowledgeable about a system more than others in that company. It's actually nice of him to spend time sharing his knowledge on someone else's YT channel for free. So don't take it personally.
@@afara2000 US citizen here, I can say I have been around experiencing those places IBM, AWS, Bloomberg, all similar, politics, bureaucracy, a lot of what some call impostors, this is the main reason why I admire David Bombal, Keith Barker, and one of my favorites this days Charles Judd, who I highly recommend to watch and hopefully one day David can also invite and interview in his channel. Regarding your comment of "appearing in a YT channel for free" Have you seen David, or Keith, or even myself (yes I do have a YT channel as well) asking for anyone to pay for their very valuable knowledge or time? just do the Math, who do you hear about the must around the network engineering community, David, Keith, Charles, etc. or this person, who seems desperately in need of scrambling himself in a simple basic Ansible demonstration video. There was absolutely no need to made it extra complicated showing the github integration or going with a commercial IDE like pycharm. In all honesty... no thanks, I think there are many other resources out there that will be honored to be in David's YT channel, resources that I have seen they already share and support the network engineering community for free! another fact regarding your "free comment" Have you heard about GNU/Linux, free software that took over the commercial server version of Microsoft and all other cloud infrastructures as standard, and! will also take over the network OS systems as well. That I guarantee it, and again GNU/Linux is free!
That's a shame, David and I have quite a few videos in the pipeline :)
@@afara2000 :)
Donald's not a very good teacher no offense. But he just assumes knowledge from learners rather than explaining causes more confusion than understanding by overwhelming with things. But thanks for the time