Learn to use Ansible to Update & Patch your Linux System | Devops

33 Comments



Ansible is a powerful configuration management tool that helps automate updating your systems and servers, among many other things.

If you’re familiar with other CM tools like Puppet or Chef, Ansible functions very much like Puppet Masterless or Chef Solo. It is designed to automate system administration tasks without having to write and maintain a bunch of bash scripts. CM tools are the foundation of a solid DevOps engineer.

I used an Ansible playbook in this video, which is an integral part of the Ansible ecosystem. The ansible-playbook command makes it super easy to run playbooks with either Ansible roles or tasks, but you don’t have to organize all of them in a playbook.

If you administer servers, whether they be Windows Servers or Linux Servers, it would behoove you to learn about configuration management. Powershell is often used in Windows environments however Ansible can run against Windows servers too.

Both Bash and Powershell have a strong tendency to get out of hand and result in code bases being unwieldy and difficult to maintain. CM tools like Ansible solve this problem entirely.
~~
Support the channel! Becoming a Patron or Ko-fi supporter gives you access to the Egee video archive & good vibes for supporting my videos!

Ko-fi – https://ko-fi.com/egeeirl β˜•
Patreon – https://www.patreon.com/egeeirl πŸ€—

Use My Affiliate Links & Support The Channel! 🎁

Looking for a reliable & cost-effective VPS? Sign up with my friends at Linode with my link to get a $20 credit on your account! – https://linode.com/egee

Linux & Open Source Gear

Pre-Installed Linux Barebones & Mini-PC’s – https://amzn.to/2rbjGYU 🐧
Unlocked LineageOS compatible devices – https://amzn.to/2OQQ50x πŸ“²
Crouton compatible Chromebooks – https://amzn.to/383JuHB πŸ’»

Recording Gear

My amazing microphone – https://amzn.to/364mvdM πŸŽ™οΈ
Linux compatible audio mixer – https://amzn.to/2Ln2vuG 🎧
The fire-breathing CPU for video editing – https://amzn.to/33NyDyf πŸ”₯

source

33 Comments
    • blank
      Mr. JMUT Jayamanna
      May 17, 2022 06:41 am Reply

      Great stuff. Thanks.

    • blank
      SonicJ2
      May 17, 2022 06:41 am Reply

      β€œProgramming tutorials tend to run a bit long so let’s just dive in”

      I just subbed, thank you man

    • blank
      Tech Sudo
      May 17, 2022 06:41 am Reply

      This is the most concise, straight to the point, quick tutorial video about Ansible. Great job man πŸ‘

    • blank
      The Mango Man
      May 17, 2022 06:41 am Reply

      Can you please help me. U have to install telegraf agent on almost 1000 servers.. so how can i do that with ansible playbooks or ansible

    • blank
      Mauricio Rangel
      May 17, 2022 06:41 am Reply

      "Once we disable that key checking… We got owned." thats how that phrase really ends.

    • blank
      kjakobsen
      May 17, 2022 06:41 am Reply

      Why do all cool software have to use yaml? Makes my blood boil.

    • blank
      Joel Sterling
      May 17, 2022 06:41 am Reply

      Thanks!

    • blank
      R L
      May 17, 2022 06:41 am Reply

      Useful video. Can you use ansible for deploying Linux os?

    • blank
      Ameya Agashe
      May 17, 2022 06:41 am Reply

      Simple and sweet! Thank you

    • blank
      Snehal Mehar
      May 17, 2022 06:41 am Reply

      I see your main.yml code and thanks for posting it on GIT. Can you tell me if I want to use the respective repository for a server like RHN for red hat, centos.org for centos, and suse.com for suse, how the code needs to be modified?

    • blank
      Erik Groh
      May 17, 2022 06:41 am Reply

      Ufff I can't show this video because everytime when i start this video I get acid flashbacks 😐

    • blank
      Hire DevOps
      May 17, 2022 06:41 am Reply

      clear and concise, great video!

    • blank
      Deadeye
      May 17, 2022 06:41 am Reply

      What linux is this?

    • blank
      Bornik Bhattacharyya
      May 17, 2022 06:41 am Reply

      Will it possible for you to make a tutorial on how to setup ansibe with vscode? Thanks for the video πŸ‘

    • blank
      Roswitha
      May 17, 2022 06:41 am Reply

      Bash documentation is character building.

    • blank
      Viktor Stoimenov
      May 17, 2022 06:41 am Reply

      What do you think about Solus?

    • blank
      Anindya S. Dhar
      May 17, 2022 06:41 am Reply

      anyone know the background music

    • blank
      Rushikesh Dhanawade
      May 17, 2022 06:41 am Reply

      which linux distro you as a daily

    • blank
      Jordan Boudreau
      May 17, 2022 06:41 am Reply

      i hate windows. i wanma switch to linux. is it even worth it. i game on my pc and i dont want to lose performance and i want to have my games. ik all about wine and shit but is it worth it?

    • blank
      Tropical
      May 17, 2022 06:41 am Reply

      Hey Egee, can you make a video about we can use nvida graphic cards in vmware player

    • blank
      Dmitrii
      May 17, 2022 06:41 am Reply

      Not a single dislike wow

    • blank
      agassi joel
      May 17, 2022 06:41 am Reply

      Your page is very interesting, πŸ™‚ and I love that wallpaper any links for these kinds of awesome wallpapers

    • blank
      Taro Yamada
      May 17, 2022 06:41 am Reply

      It was very interesting! ! Your video was very easy to understand. I have one question, is it okay?

    • blank
      David Sanusi
      May 17, 2022 06:41 am Reply

      On what Linux distro was this recording made?

    • blank
      Stuart Luscombe
      May 17, 2022 06:41 am Reply

      A great video! I use Ansible in my job and it really does save so much time with minimal effort.

    • blank
      Alexander White
      May 17, 2022 06:41 am Reply

      A useful and clear tutorial, an amazing voice and HOME – Resonance as the background music.

      You got yourself a like and a subscription.

    • blank
      Elliot Linn
      May 17, 2022 06:41 am Reply

      Man your voice is amazing (and the video is amazing too)

    • blank
      jennashair
      May 17, 2022 06:41 am Reply

      so, question.

      using 'become: true' alongside ssh key, does the ssh user need to be root?

    • blank
      oqiweopdfxb
      May 17, 2022 06:41 am Reply

      Great channel dude
      keep up the good vids

    • blank
      techtirade
      May 17, 2022 06:41 am Reply

      I've always got told to never install pip packages systemwide and use the provided package. Also shouldn't ansible just connect to a user with sudo rights, never used it just asked

    • blank
      HebaruSan
      May 17, 2022 06:41 am Reply

      Clearly the optimal solution is to write (and teach) GOOD bash.

Leave us a comment