Ansible Network Automation

Sdílet
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

Komentáře • 129

  • @vidyachandrasekar2566
    @vidyachandrasekar2566 Před 2 lety +12

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

  • @jag831
    @jag831 Před 2 lety +15

    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)

  • @sayanchowdhury8102
    @sayanchowdhury8102 Před 2 lety +4

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

  • @angelsepulveda9211
    @angelsepulveda9211 Před 2 lety +11

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

  • @davidbombal
    @davidbombal  Před 2 lety +10

    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

  • @ThePacketThrower
    @ThePacketThrower Před 2 lety +5

    Thanks for having me on David!

    • @davidbombal
      @davidbombal  Před 2 lety +1

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

  • @thelazyanh
    @thelazyanh Před 2 lety +2

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

  • @vishalraj7532
    @vishalraj7532 Před 2 lety +8

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

  • @ncbowden1963
    @ncbowden1963 Před 2 lety +1

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

  • @MrWinfil
    @MrWinfil Před rokem +1

    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.

  • @javacqt
    @javacqt Před 2 lety +2

    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.

  • @educastellini
    @educastellini Před 2 lety +6

    -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 Před 2 lety +1

      Thanks! We got plenty more down the pipe!

    • @educastellini
      @educastellini Před 2 lety +1

      @@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 Před 2 lety +1

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

  • @vyasG
    @vyasG Před 2 lety +2

    Thank You David and Donald for this Informative Video.

  • @epicadventures6871
    @epicadventures6871 Před 2 lety +1

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

  • @craigreid9553
    @craigreid9553 Před 2 lety +2

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

  • @artemnovak7065
    @artemnovak7065 Před 2 lety +2

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

  • @jtorajakumary
    @jtorajakumary Před 2 lety +2

    Thank you David Bombal for the wonderful session.

  • @adalbertoguerra8402
    @adalbertoguerra8402 Před 2 lety +4

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

  • @davidraymond7420
    @davidraymond7420 Před 2 lety +1

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

  • @seanbrewer6269
    @seanbrewer6269 Před rokem

    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.

  • @sayedsekandar
    @sayedsekandar Před 2 lety +2

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

  • @venus334
    @venus334 Před 2 lety +1

    Just made My afternoon. Thanks David

  • @javierdepedro7207
    @javierdepedro7207 Před 2 lety +1

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

  • @pedropaixao1992
    @pedropaixao1992 Před 2 lety +1

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

  • @crazygeniusgamer697
    @crazygeniusgamer697 Před 2 lety +2

    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 💓

  • @user-uw7st6vn1z
    @user-uw7st6vn1z Před 2 lety +1

    Good sharing thanks David!

  • @Sanjaykumar-so9sf
    @Sanjaykumar-so9sf Před 2 lety +1

    David sir ,super excited for ansible 👍👍

  • @wasimashraf8280
    @wasimashraf8280 Před 2 lety +1

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

  • @NetworkNinja111
    @NetworkNinja111 Před rokem

    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
    @malliakarai1 Před 2 lety +3

    David = Google for network engineers.

  • @tiisetsangthaba9814
    @tiisetsangthaba9814 Před 2 lety +2

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

  • @MohamedSalah-S
    @MohamedSalah-S Před 2 lety +2

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

  • @ulasaydin825
    @ulasaydin825 Před 2 lety +1

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

  • @kyawlinnsoe1273
    @kyawlinnsoe1273 Před 2 lety +1

    Thank you very much, Sir David

  • @greagmcnord2220
    @greagmcnord2220 Před 2 lety +1

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

  • @gauravkavat
    @gauravkavat Před 2 lety +1

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

  • @madaraekouta8058
    @madaraekouta8058 Před 2 lety +1

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

  • @gjsatru3383
    @gjsatru3383 Před 2 lety +2

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

  • @karthickvk4599
    @karthickvk4599 Před 2 lety +1

    Thank you David ❤️

  • @syedasadjamal3041
    @syedasadjamal3041 Před 2 lety +1

    Awesome content

  • @sultansaab7168
    @sultansaab7168 Před 2 lety

    Sit thank you for the amazing video

  • @tribervirus2932
    @tribervirus2932 Před 2 lety

    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.

  • @abedzaben
    @abedzaben Před 2 lety +1

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

  • @MsTarguisti
    @MsTarguisti Před 2 lety +1

    Amazing!

  • @IN2MINUTES
    @IN2MINUTES Před 2 lety

    Thanks for helping us

  • @knightwanter
    @knightwanter Před 2 lety

    Thankyou David sir

  • @shesh1123
    @shesh1123 Před 2 lety +1

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

  • @nitinchandna3016
    @nitinchandna3016 Před 2 lety +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

  • @sinos_karan9515
    @sinos_karan9515 Před 2 lety +1

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

  • @MK-jf1rv
    @MK-jf1rv Před 2 lety

    Thank you 🙏😊

  • @mehdicherifi6289
    @mehdicherifi6289 Před 2 lety +1

    Great 👍

  • @robertprice7459
    @robertprice7459 Před rokem

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

  • @MK-jf1rv
    @MK-jf1rv Před 2 lety

    Super content

  • @johnf5122
    @johnf5122 Před 2 lety +1

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

  • @RayBitton
    @RayBitton Před 2 lety +2

    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 Před 2 lety +1

      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 Před 2 lety

      @@RayBitton We'll get there!

  • @kintag4459
    @kintag4459 Před 2 lety

    Awesome Thank you M.r

  • @balakrishnakonakalla
    @balakrishnakonakalla Před 2 lety +3

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

  • @nabeats221
    @nabeats221 Před 2 lety +1

    🔥🔥🔥

  • @parshantkumar2455
    @parshantkumar2455 Před 2 lety +1

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

  • @ajithj3131
    @ajithj3131 Před 2 lety +1

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

  • @brianturney2124
    @brianturney2124 Před 2 lety +1

    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?

  • @kimanimichael3406
    @kimanimichael3406 Před rokem +1

    good tutorials. How much is the book?

  • @gardensindeze2568
    @gardensindeze2568 Před 2 lety +3

    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
    @alejandrorodriguez3771 Před 2 lety +2

    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 Před 2 lety +4

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

  • @jimmyrodriguez5034
    @jimmyrodriguez5034 Před 22 dny

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

  • @anshumishra9368
    @anshumishra9368 Před 2 lety +1

    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.

  • @skudmora
    @skudmora Před 2 lety +1

    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.

  • @gauravvishwakarma4796
    @gauravvishwakarma4796 Před 2 lety

    First comment 😁✌️

  • @mariembuenaventura1278
    @mariembuenaventura1278 Před 2 lety +2

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

  • @zzz-lz6is
    @zzz-lz6is Před 11 měsíci

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

  • @kamleshchauhan6894
    @kamleshchauhan6894 Před 2 lety

    David please show us how to make trojans

  • @ahdimarketing9073
    @ahdimarketing9073 Před 2 lety

    No5 to like the video.

  • @jgranahan
    @jgranahan Před 2 lety

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

  • @tubeyou8472
    @tubeyou8472 Před 2 lety

    ty bombal

  • @saudkader8488
    @saudkader8488 Před 2 lety

    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)

  • @abdalrhmancisco3249
    @abdalrhmancisco3249 Před 2 lety

    ❤️

  • @mohamednazaras
    @mohamednazaras Před 2 lety +1

    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.

  • @MelnSteveC
    @MelnSteveC Před rokem

    Will there be a part 2?

  • @w1d3r75
    @w1d3r75 Před 2 lety +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

    • @davidbombal
      @davidbombal  Před 2 lety +2

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

    • @w1d3r75
      @w1d3r75 Před 2 lety

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

    • @ThePacketThrower
      @ThePacketThrower Před 2 lety +1

      @@davidbombal CML can be multi-vendor too!

    • @davidbombal
      @davidbombal  Před 2 lety +1

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

  • @dnkc8620
    @dnkc8620 Před 2 lety +1

    Woowww...
    First time on top 50 comments.

  • @dwaynemorgan2927
    @dwaynemorgan2927 Před 2 lety

    Can I start learning Ansible with VS code ?

  • @kermitdaphrogge525
    @kermitdaphrogge525 Před 2 lety +2

    Hey

  • @fsamobby
    @fsamobby Před 2 lety

    ansible=python=love=)

  • @gauravvaswani2994
    @gauravvaswani2994 Před 2 lety

    First !!

  • @sethgaston8347
    @sethgaston8347 Před 2 lety

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

  • @Nwo-jo3oe
    @Nwo-jo3oe Před 2 lety

    First!

  • @Andrew-mh6cl
    @Andrew-mh6cl Před 2 lety

    Hi sir iam 2nd

  • @brianturney2124
    @brianturney2124 Před 2 lety

    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

  • @1geodawg
    @1geodawg Před 2 lety

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

  • @DeepakSingh-wv5ii
    @DeepakSingh-wv5ii Před 2 lety

    Hello sir

  • @mohammadtorikulislam3981

    First....

  • @zeratul09
    @zeratul09 Před 2 lety

    Who is this guy? We want Meow Meow!

  • @dvoltv
    @dvoltv Před 5 měsíci

    someone tell bro to look into the camera 😭

  • @Nwo-jo3oe
    @Nwo-jo3oe Před 2 lety

    My python CZcams hacking script works!

  • @jairunet
    @jairunet Před 2 lety

    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 Před 2 lety

      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 Před 2 lety

      @@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 Před 2 lety +1

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

    • @ThePacketThrower
      @ThePacketThrower Před 2 lety

      @@afara2000 :)

  • @justinava1675
    @justinava1675 Před 2 lety

    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