Ansible Network Automation

Ғылым және технология

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
KZread: / 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

Пікірлер: 129

  • @vidyachandrasekar2566
    @vidyachandrasekar25662 жыл бұрын

    Hey David, Thank you so much for taking the time to educate us all. Appreciate your hard work !!

  • @ThePacketThrower
    @ThePacketThrower2 жыл бұрын

    Thanks for having me on David!

  • @davidbombal

    @davidbombal

    2 жыл бұрын

    Thank you for this Donald! And thank you for your patience getting this published 😀

  • @davidbombal
    @davidbombal2 жыл бұрын

    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 KZread: kzread.info ================= 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

  • @jag831
    @jag8312 жыл бұрын

    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)

  • @davidbombal

    @davidbombal

    2 жыл бұрын

    Glad it was helpful!

  • @angelsepulveda9211
    @angelsepulveda92112 жыл бұрын

    This awesome, been thinking on how to get started with Ansible, David to the rescue. Can't wait to see more!

  • @thelazyanh
    @thelazyanh2 жыл бұрын

    I am working on CCNA exam and looking for some good content about Ansible. Thank you David, you're my life saver.

  • @vishalraj7532
    @vishalraj75322 жыл бұрын

    Soon we reach 1 Million KZread family. Can't wait for that beautiful moment😍😍

  • @davidbombal

    @davidbombal

    2 жыл бұрын

    Thank you so much Vishal

  • @MrWinfil
    @MrWinfil Жыл бұрын

    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.

  • @sayanchowdhury8102
    @sayanchowdhury81022 жыл бұрын

    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!!

  • @javacqt
    @javacqt2 жыл бұрын

    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.

  • @ncbowden1963
    @ncbowden19632 жыл бұрын

    Great video! Looking forward to more on Ansible. Thanks for making this great content available.

  • @madaraekouta8058
    @madaraekouta80582 жыл бұрын

    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..................

  • @vyasG
    @vyasG2 жыл бұрын

    Thank You David and Donald for this Informative Video.

  • @crazygeniusgamer697
    @crazygeniusgamer6972 жыл бұрын

    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 💓

  • @seanbrewer6269
    @seanbrewer6269 Жыл бұрын

    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.

  • @epicadventures6871
    @epicadventures68712 жыл бұрын

    This is an excellent video on Ansible. Look forward to more of these.

  • @craigreid9553
    @craigreid95532 жыл бұрын

    Woohoo New Ansible/Network Automation content, Thanks David and Donald

  • @davidbombal

    @davidbombal

    2 жыл бұрын

    You're welcome Craig!

  • @artemnovak7065
    @artemnovak70652 жыл бұрын

    Great video, I would like to see video series about Ansible, not only with network devices but also servers.

  • @tiisetsangthaba9814
    @tiisetsangthaba98142 жыл бұрын

    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....

  • @jtorajakumary
    @jtorajakumary2 жыл бұрын

    Thank you David Bombal for the wonderful session.

  • @davidbombal

    @davidbombal

    2 жыл бұрын

    You're welcome!

  • @sayedsekandar
    @sayedsekandar2 жыл бұрын

    Thank you so much, David Sir for your hard effort.

  • @educastellini
    @educastellini2 жыл бұрын

    -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...!!!

  • @ThePacketThrower

    @ThePacketThrower

    2 жыл бұрын

    Thanks! We got plenty more down the pipe!

  • @educastellini

    @educastellini

    2 жыл бұрын

    @@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.

  • @ThePacketThrower

    @ThePacketThrower

    2 жыл бұрын

    @@educastellini Might be a good idea, I just did the VyOS cert last month!

  • @venus334
    @venus3342 жыл бұрын

    Just made My afternoon. Thanks David

  • @davidraymond7420
    @davidraymond74202 жыл бұрын

    Nice video, can’t wait until the next one 👍

  • @pedropaixao1992
    @pedropaixao19922 жыл бұрын

    Another great video, please publishes more about ansible, python and other automation tools. Thanks

  • @user-uw7st6vn1z
    @user-uw7st6vn1z2 жыл бұрын

    Good sharing thanks David!

  • @adalbertoguerra8402
    @adalbertoguerra84022 жыл бұрын

    I love watching your videos David, always great content.!!! I learn a lot from your videos.!!!

  • @davidbombal

    @davidbombal

    2 жыл бұрын

    Glad you like them!

  • @NetworkNinja111
    @NetworkNinja111 Жыл бұрын

    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.!!!!!!!!!

  • @malliakarai1
    @malliakarai12 жыл бұрын

    David = Google for network engineers.

  • @davidbombal

    @davidbombal

    2 жыл бұрын

    lol... thank you!

  • @kyawlinnsoe1273
    @kyawlinnsoe12732 жыл бұрын

    Thank you very much, Sir David

  • @javierdepedro7207
    @javierdepedro72072 жыл бұрын

    Great video!!!! Thank you very much. Waiting for the next Good job

  • @MohamedSalah-S
    @MohamedSalah-S2 жыл бұрын

    cant wait for tomorrow giveaway and thanks David for the huge effort

  • @greagmcnord2220
    @greagmcnord22202 жыл бұрын

    thank you Boss David....this is great..

  • @wasimashraf8280
    @wasimashraf82802 жыл бұрын

    My most favourite topics 🥰🥰 Thanks David sir ❤️💗

  • @ulasaydin825
    @ulasaydin8252 жыл бұрын

    This is a great video, so helpful, thanks a lot

  • @Sanjaykumar-so9sf
    @Sanjaykumar-so9sf2 жыл бұрын

    David sir ,super excited for ansible 👍👍

  • @gjsatru3383
    @gjsatru33832 жыл бұрын

    First one to watch it David hope to know me . Still watching and enjoying the video......

  • @gauravkavat
    @gauravkavat2 жыл бұрын

    Nice one sir. Your videos inspired me to pursue programming as a carrier

  • @RayBitton
    @RayBitton2 жыл бұрын

    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.

  • @RayBitton

    @RayBitton

    2 жыл бұрын

    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.

  • @ThePacketThrower

    @ThePacketThrower

    2 жыл бұрын

    @@RayBitton We'll get there!

  • @karthickvk4599
    @karthickvk45992 жыл бұрын

    Thank you David ❤️

  • @abedzaben
    @abedzaben2 жыл бұрын

    Thanks David, much appreciated. I am trying to find part 2 as Donald mentioned but I couldn't find it.

  • @tribervirus2932
    @tribervirus29322 жыл бұрын

    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.

  • @IN2MINUTES
    @IN2MINUTES2 жыл бұрын

    Thanks for helping us

  • @syedasadjamal3041
    @syedasadjamal30412 жыл бұрын

    Awesome content

  • @sultansaab7168
    @sultansaab71682 жыл бұрын

    Sit thank you for the amazing video

  • @MsTarguisti
    @MsTarguisti2 жыл бұрын

    Amazing!

  • @nitinchandna3016
    @nitinchandna30162 жыл бұрын

    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

  • @knightwanter
    @knightwanter2 жыл бұрын

    Thankyou David sir

  • @brianturney2124
    @brianturney21242 жыл бұрын

    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?

  • @MK-jf1rv
    @MK-jf1rv2 жыл бұрын

    Thank you 🙏😊

  • @balakrishnakonakalla
    @balakrishnakonakalla2 жыл бұрын

    Thank you Sir, expecting more content on the Devnet / Automation

  • @davidbombal

    @davidbombal

    2 жыл бұрын

    I'll see what I can do 😀

  • @MK-jf1rv
    @MK-jf1rv2 жыл бұрын

    Super content

  • @kintag4459
    @kintag44592 жыл бұрын

    Awesome Thank you M.r

  • @davidbombal

    @davidbombal

    2 жыл бұрын

    You are very welcome

  • @mehdicherifi6289
    @mehdicherifi62892 жыл бұрын

    Great 👍

  • @davidbombal

    @davidbombal

    2 жыл бұрын

    Thank you!

  • @shesh1123
    @shesh11232 жыл бұрын

    Nice session. Thanks David. Was there a follow-up session after this?

  • @nabeats221
    @nabeats2212 жыл бұрын

    🔥🔥🔥

  • @robertprice7459
    @robertprice7459 Жыл бұрын

    Hi David, really enjoyed this video, have you done any further Ansible stuff with Donald?

  • @johnf5122
    @johnf51222 жыл бұрын

    Nice work, any estimate of when the next with Ansible Vault will be posted? Thanks

  • @gardensindeze2568
    @gardensindeze25682 жыл бұрын

    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

  • @alejandrorodriguez3771
    @alejandrorodriguez37712 жыл бұрын

    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.

  • @ThePacketThrower

    @ThePacketThrower

    2 жыл бұрын

    Ansible is generally more useful for networking stuff, Terraform is meant for building resources rather than configuring them

  • @parshantkumar2455
    @parshantkumar24552 жыл бұрын

    sir, I recommend you also start your interview podcast on Spotify

  • @sinos_karan9515
    @sinos_karan95152 жыл бұрын

    Hello David sir !!! How are you ??// It's a big conversation ahh!! Thank you once again!!

  • @davidbombal

    @davidbombal

    2 жыл бұрын

    You're welcome!

  • @ajithj3131
    @ajithj31312 жыл бұрын

    Good content sir❤️ But make video on how to install andrax or any linux in phone without rooting pls

  • @anshumishra9368
    @anshumishra93682 жыл бұрын

    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.

  • @jimmyrodriguez5034
    @jimmyrodriguez503421 күн бұрын

    YAML supports tab, but I think PyCharm may not. No issues in VSCode, but that may also be the YAML VSC extension.

  • @skudmora
    @skudmora2 жыл бұрын

    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.

  • @jgranahan
    @jgranahan2 жыл бұрын

    if one has VMware Workstation, what would one need to run a virtual Router, as your guest was doing?

  • @mohamednazaras
    @mohamednazaras2 жыл бұрын

    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.

  • @zzz-lz6is
    @zzz-lz6is11 ай бұрын

    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...? 🤔

  • @mariembuenaventura1278
    @mariembuenaventura12782 жыл бұрын

    Thank you sir! Can I use ansible for non Cisco Devices?

  • @ThePacketThrower

    @ThePacketThrower

    2 жыл бұрын

    Yup!

  • @abdalrhmancisco3249
    @abdalrhmancisco32492 жыл бұрын

    ❤️

  • @kimanimichael3406
    @kimanimichael3406 Жыл бұрын

    good tutorials. How much is the book?

  • @tubeyou8472
    @tubeyou84722 жыл бұрын

    ty bombal

  • @kamleshchauhan6894
    @kamleshchauhan68942 жыл бұрын

    David please show us how to make trojans

  • @w1d3r75
    @w1d3r752 жыл бұрын

    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

  • @davidbombal

    @davidbombal

    2 жыл бұрын

    You could use CML for Cisco devices. Or GNS3 or EVE-NG if you want multivendor.

  • @w1d3r75

    @w1d3r75

    2 жыл бұрын

    @@davidbombal I'll check them out. Thank you!

  • @ThePacketThrower

    @ThePacketThrower

    2 жыл бұрын

    @@davidbombal CML can be multi-vendor too!

  • @davidbombal

    @davidbombal

    2 жыл бұрын

    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).

  • @gauravvishwakarma4796
    @gauravvishwakarma47962 жыл бұрын

    First comment 😁✌️

  • @ahdimarketing9073
    @ahdimarketing90732 жыл бұрын

    No5 to like the video.

  • @dnkc8620
    @dnkc86202 жыл бұрын

    Woowww... First time on top 50 comments.

  • @davidbombal

    @davidbombal

    2 жыл бұрын

    Thank you for your support!

  • @saudkader8488
    @saudkader84882 жыл бұрын

    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)

  • @ThePacketThrower

    @ThePacketThrower

    2 жыл бұрын

    The best way is to buy CML

  • @MelnSteveC
    @MelnSteveC Жыл бұрын

    Will there be a part 2?

  • @sethgaston8347
    @sethgaston83472 жыл бұрын

    So did Orson Scott Card also predict the rise of a Hegemon and a Hivequeen, hopefully that part isn't in my lifetime lol

  • @dwaynemorgan2927
    @dwaynemorgan29272 жыл бұрын

    Can I start learning Ansible with VS code ?

  • @brianturney2124
    @brianturney21242 жыл бұрын

    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

  • @fsamobby
    @fsamobby2 жыл бұрын

    ansible=python=love=)

  • @ThePacketThrower

    @ThePacketThrower

    2 жыл бұрын

    Just wait till we get to Nornir :)

  • @kermitdaphrogge525
    @kermitdaphrogge5252 жыл бұрын

    Hey

  • @gauravvaswani2994
    @gauravvaswani29942 жыл бұрын

    First !!

  • @Andrew-mh6cl
    @Andrew-mh6cl2 жыл бұрын

    Hi sir iam 2nd

  • @Nwo-jo3oe
    @Nwo-jo3oe2 жыл бұрын

    First!

  • @1geodawg
    @1geodawg2 жыл бұрын

    so ..... when is the next video on this? :-)

  • @DeepakSingh-wv5ii
    @DeepakSingh-wv5ii2 жыл бұрын

    Hello sir

  • @zeratul09
    @zeratul092 жыл бұрын

    Who is this guy? We want Meow Meow!

  • @ThePacketThrower

    @ThePacketThrower

    2 жыл бұрын

    Meow!

  • @mohammadtorikulislam3981
    @mohammadtorikulislam39812 жыл бұрын

    First....

  • @dvoltv
    @dvoltv5 ай бұрын

    someone tell bro to look into the camera 😭

  • @Nwo-jo3oe
    @Nwo-jo3oe2 жыл бұрын

    My python KZread hacking script works!

  • @jairunet
    @jairunet2 жыл бұрын

    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...

  • @afara2000

    @afara2000

    2 жыл бұрын

    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.

  • @jairunet

    @jairunet

    2 жыл бұрын

    @@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!

  • @ThePacketThrower

    @ThePacketThrower

    2 жыл бұрын

    That's a shame, David and I have quite a few videos in the pipeline :)

  • @ThePacketThrower

    @ThePacketThrower

    2 жыл бұрын

    @@afara2000 :)

  • @justinava1675
    @justinava16752 жыл бұрын

    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

Келесі