Ansible 101 - Episode 1 - Introduction to Ansible

  Переглядів 511,158

Jeff Geerling

Jeff Geerling

День тому

Jeff Geerling (geerlingguy) introduces Ansible in the first episode of a new live-streaming series "Ansible 101 with Jeff Geerling."
Jeff walks through installing Ansible, running tasks on a remote AWS EC2 instance using Ansible ad-hoc tasks, integrating Ansible with Vagrant to build local Virtual Machines (VMs), and then teaches you how to write your first Ansible playbook!
This video follows material from chapters 1 and 2 in the bestselling Ansible book, Ansible for DevOps.
Buy Ansible for DevOps: www.ansiblefordevops.com
Sponsor Jeff on GitHub: github.com/sponsors/geerlingguy
Support Jeff on Patreon: / geerlingguy
Contents:
00:00:00 - Intro
00:01:47 - Preface and Info about Ansible for DevOps
00:07:51 - Ansible Background
00:17:43 - Installing Ansible
00:20:55 - Connecting to a Server with Ansible
00:26:50 - Using an ansible.cfg file
00:28:57 - Running ad-hoc commands
00:33:36 - Vagrant Intro
00:45:24 - First Ansible Playbook
00:51:47 - Idempotence
00:56:56 - Importance of naming tasks
01:01:18 - Chat questions answered
01:02:56 - Outtro

КОМЕНТАРІ: 244
@AlyWhits
@AlyWhits 4 роки тому
Missed the live stream, but just finished watching the recording. Thank you for this series. Looking forward to Ep 2! :)
@rajun6713
@rajun6713 4 роки тому
This is so good, you took time to make videos of the chapters you wrote in your book. Your so awesome. Started with ep1, it going good till now. Love the content.
@daviddemoss7731
@daviddemoss7731 4 роки тому
Awesome videos. Been trying to come up to speed on ansible using your resources. So far ansible seems to have a high learning curve, but your resources are incredible! thanks for making this all available!
@Billklinefelter
@Billklinefelter 4 роки тому
I’ve used several of your Ansible galaxy roles so when I saw this I knew it would be good. Thank you for doing this!!
@mihaiblebea1940
@mihaiblebea1940 4 роки тому
First 60+ mins video I watch on youtube. Really good content. Great job!
@komalthecoolk
@komalthecoolk 4 роки тому
He deserves all the sponsors that he can get, just considering the amazing content he's putting out in this UKposts series for free!!
@kikomon8652
@kikomon8652 3 роки тому
Wow! Thank you for doing this! It is straight forward. Clear. Precise. Outstanding work. Kudos!
@geoptus
@geoptus 3 роки тому
Thanks for putting together such a great tutorial, very enjoyable to follow and understandable with your clear, structured explanations. It's the first time I've used ansible and vagrant, and it all worked 😃 Look forward to getting on with the rest of the series - awesome stuff dude!!
@jonghunpark1403
@jonghunpark1403 4 роки тому
This is awesome!! Thank you so much for putting this series out.
@christiaansteenkamp5617
@christiaansteenkamp5617 4 роки тому
Just bought your book. Thanks for being such a awesome guy I stumbled onto one of your old raspberry pi videos and now Im down the rabbit hole.
@babarbasharat196
@babarbasharat196 4 роки тому
Thanks Jeff. These Videos supplement your book quite well. You are doing such an amazing job !
@nemakalsudhirchakravarthi4311
@nemakalsudhirchakravarthi4311 4 роки тому
The most awaited Video from Jeff Geerling... Thanks a lot.
@felix30471
@felix30471 2 роки тому
Thanks a ton for producing these videos and making them available for free! This has helped me understand more about Ansible and using it than I could in like three hours of reading docs (ok, maybe I'm just bad at that...), and on top of that you even did a bit of Vagrant!
@T313COmun1s7
@T313COmun1s7 Рік тому
Been interested in Ansible for a while. I just did a basic introduction course and realized how much the paradigm aligns so well with what I would do if I built it. So I decided to watch this. I enjoy your other videos. You showed a Pi 4, and I could help but think, wow, back when you could just buy them.
@ssmytheYT
@ssmytheYT 4 роки тому
Great intro to Ansible and I wish you the best of success with the book! :-D I am grateful for all your contributions to the open source world and look forward to your future works!
@ThomasRStevenson
@ThomasRStevenson 4 роки тому
Just bought your book on Amazon. Can't wait to get it. Thanks!
@trevorbrant9535
@trevorbrant9535 Рік тому
I'm just getting started with the Software Defined Networking side of things - currently studying for the CCNA. This is super helpful. Thanks so much, Jeff!!
@conallogribin
@conallogribin 2 роки тому
looking forward to watching this series. Thanks for the effort , Jeff.
@jerikho04
@jerikho04 2 роки тому
Thank you very much for taking the time and effort to record your book and publish it for free. All the best, sir
@cgarafulic
@cgarafulic 3 роки тому
Thank you Jeff, amazing video in the technical area, and thank you for your positive mind set so together as humans as a whole will overcome and defeat the current pandemic as you mentioned.
@dominick253
@dominick253 8 місяців тому
Just made two playbooks. One to update all of my servers and the second for CI for my website to automatically update on my server! It's amazing it updates in a second!!! Automatically with a webhook! Like magic! Used to be at least a 5 minute operation to update the website and now it's automagically done ✅
@JeffGeerling
@JeffGeerling 8 місяців тому
Automate all the things!
@MeTube3
@MeTube3 8 місяців тому
Still three years later I can't thank Jeff enough.
@enriqueperez3208
@enriqueperez3208 4 роки тому
bought your book last year and was pretty worthed :). Good to see who was behind it
@sahdevchauhan
@sahdevchauhan 3 роки тому
Thank you for this series. It's great to learn from you.
@minhajabidin
@minhajabidin 2 роки тому
What a gem of a person!. Loved the tutorial aswell.
@kshitizsingh8149
@kshitizsingh8149 3 роки тому
Great introduction stream. Will definitely watch the full series. subscribed .
@Ollital
@Ollital 2 роки тому
Thanks your videos. I know have playbooks for setting up a new pi, dist-upgrade all my pis and upgrade my servers. This makes these tasks a lot easier.
@AngelaAndrews
@AngelaAndrews 4 роки тому
What a great episode. Thanks for going over your book in this way. I've never sat still for an hour UKposts video before. Thanks for keeping it engaging and thanks for always praying.
@JeffGeerling
@JeffGeerling 4 роки тому
Thanks so much, glad you liked it!
@Gilgwathir
@Gilgwathir 2 роки тому
Thank you for the great tutorial :-) I only watched this first one, and I can already tell this will be a good series.
@hexploit2736
@hexploit2736 3 роки тому
What a hero, thank you so much Jeff for doing this!
@pythonautomation8016
@pythonautomation8016 3 роки тому
Thank you for making your book's content into wonderful videos! I am going to enjoy the whole series!
@homiwong
@homiwong 3 роки тому
A instant buy for your book! Great job!!!
@lucasherculano5161
@lucasherculano5161 3 роки тому
Amazing stuff. Learning a lot with you! Cheers from Brazil.
@berkanyldrm2107
@berkanyldrm2107 3 роки тому
Awesome staff. Thanks from Turkey 🇹🇷
@almazkharrasov
@almazkharrasov 2 роки тому
I was shocked when I saw your name in the Recommended Reading section of the Unix and Linux system administration handbook. You're awesome!
@MohammadMahro
@MohammadMahro 3 роки тому
Thanks for the initiative, very helpful
@ajayshahi2003
@ajayshahi2003 4 роки тому
Thanks for the series. Awesome way to contribute to community.
@grahammccann8554
@grahammccann8554 3 роки тому
Thank you for the video Jeff.
@AliHussein-go9qx
@AliHussein-go9qx 2 роки тому
Thank you for the perfect explanation for every think.
@najoejoe3907
@najoejoe3907 5 місяців тому
Thanks for the book!
@Lehi0001
@Lehi0001 3 роки тому
Good on you sir. This is a life saver, as I just took an offer that I'm expected to learn Ansible in depth, and I'll be buying the book too just to support. Thank you!
@JeffGeerling
@JeffGeerling 3 роки тому
Good luck!
@lordofenron
@lordofenron Рік тому
Hi Jeff.. I found out about Ansible about two years ago but didn't have the energy to learn anything, so now I'm back after two years and ready to learn. I started with videos on pluralsight, and they were pretty bad, but yours is pretty amazing :D I already learned a lot more than the last two hrs spent om pluralsight. Anyway, what I really wanted to say is that you seem like the best guy ever :) All your comments about helping others, giving the book away for free and "I'm gonna pray for you whether you like it or not". I mean, it's pretty heartwarming :) Thanks.
@bretthansen633
@bretthansen633 Рік тому
Thank you so much for this! So helpful!!! You mentioned the coronavirus and it reminded me how much things have changed! In late February 2020 both my parents got it so bad that I woke up in a cold sweat realizing I may have to plan 2 funerals... Thank God they both got through it!! My mom I still dealing with long haul covid but things have gotten much better. Anyway I love your videos they are soooo helpful! I've been working on/staying in a crazy upgraded 1974 GMC Motorhome for 3 or so years now. Thanks to you and a few others I've got my old motorhome almost fully automated!!! Thanks!!! Now I'm leaning this to do a 10 odroid n2+ cluster to replace my T420 dell server lol
@deepakdeepsdeepak
@deepakdeepsdeepak 3 роки тому
excellent tutorial , thank you Jeff !
@andreas-fefe
@andreas-fefe Рік тому
Thanks Jeff. I received my fresh copy of the book
@wquayle9229
@wquayle9229 3 роки тому
A year later, and the virus is still a thing. I've been a systems guy for 35 years. It's about time I added Ansible to my toolbox. Thanks very much for this fine book and video series.
@dominikp6073
@dominikp6073 6 місяців тому
you are amazing! Thank you so much for the book, thats exactly what i needed!
@aki_tomato_
@aki_tomato_ Рік тому
i just got a new job. From doing desktop support to automating linux servers with ansible... This series really helped me a lot. And I bought your book too! Thank you for saving me!!
@jeremys6003
@jeremys6003 2 роки тому
repping this series at AnsibleFest 2021 for you Jeff! People have already seen it or will be watching soon!
@romanlipin3518
@romanlipin3518 3 роки тому
you are amazing! thank you for your knowledge and contribution!
@azizayyildiz3771
@azizayyildiz3771 2 роки тому
Thank you for this series
@kristhiantiu4317
@kristhiantiu4317 4 роки тому
thank you jeff! good resource!
@brentonasmith
@brentonasmith 3 роки тому
Well done Jeff, like the format of watching “over your shoulder” so to speak, quick way to learn by watching others.
@danielstoddart
@danielstoddart 3 роки тому
I agree, the 'over the shoulder' style of producing tech videos, especially developer videos, is the way to go. I find myself learning more, and learning it more quickly, this way.
@Xatinni
@Xatinni Рік тому
Thanks Jeff.. great intro into Ansible, looking forward to watching the rest of the series..
@JeffGeerling
@JeffGeerling Рік тому
Good luck, and thanks for watching!
@the-common-man5795
@the-common-man5795 3 роки тому
Great job!! Much appreciated.
@cloudkemitafropt5879
@cloudkemitafropt5879 2 роки тому
Hey Jeff I love what you do. You are great for Professionals.
@LucGeurts61
@LucGeurts61 3 роки тому
Great content. Thx for putting this up!
@maxluong2
@maxluong2 2 роки тому
Thanks Jeff!
@geraldcurren
@geraldcurren 4 роки тому
Wow! Very impressive!
@anthonyrussano
@anthonyrussano 2 роки тому
Thank you Jeff!
@janpoulsen498
@janpoulsen498 3 роки тому
What a nice and coherent presentation. It's a joy watching.
@JeffGeerling
@JeffGeerling 3 роки тому
It's a joy having you watch!
@atulsharma-zy6nq
@atulsharma-zy6nq 4 роки тому
Thanks Jeff suddenly things started looking easy
@wekiwa7055
@wekiwa7055 2 роки тому
Much enjoy reviewing your "live stream" vids Jeff.
@JeffGeerling
@JeffGeerling 4 роки тому
@Oliver Davies asked during the stream "Any reason for using yum module over 'package' module?" - In this case, not really; package is convenient for multi-platform playbooks. Sometimes it is good to specify yum/dnf/apt/pacman/etc. instead of the generic 'package' module if you need to specify distro-specific options, or if playbook is intended to only work on one platform/distro.
@ExtremeSquared
@ExtremeSquared 3 роки тому
39:50 "Centos versions are supported practically forever." Whoops.
@DaPanda19
@DaPanda19 2 роки тому
Lmao
@mastershake156
@mastershake156 2 роки тому
why whoops? what happened?
@ExtremeSquared
@ExtremeSquared 2 роки тому
​@@mastershake156 In a nutshell, RedHat retroactively revoked long term support for Centos, Centos was superseded by 'Centos Stream', and traditional Centos was functionally replaced by other projects -- Rocky, I think. I'm not a Centos expert, though. Team Debian Stable.
@pradeepkumarpanda4611
@pradeepkumarpanda4611 3 роки тому
Great fan from india jeff. I started following you by downloading your ansible roles from Galaxy..
@lazyprogrammer.7435
@lazyprogrammer.7435 2 роки тому
Thanks a lot for the amazing content you put on UKposts for free.
@VoislavVasiljevski
@VoislavVasiljevski 3 роки тому
Great content Jeff!
@rahulmendonca8755
@rahulmendonca8755 3 роки тому
Awesome lesson
@EsronDtamar
@EsronDtamar 3 роки тому
Thankyou for this content.
@dilan7112
@dilan7112 4 роки тому
Really good video. Thanks man!
@jimlosinsky5548
@jimlosinsky5548 2 роки тому
Fantastic Ansible Tutorial 🙏😀❤️🎄🎄🎄
@MaxCreatesCode
@MaxCreatesCode Рік тому
Great series!
@omegabk
@omegabk 4 роки тому
Be blessed!
@Forkentiney
@Forkentiney Рік тому
Heyyy Jeff the "Ansible" exists in Ender's Game (1985), yes, but the idea really comes from Le Guin's novel called "Rocannon's World" from 1966, and expanded upon in 1977 with "The Dispossessed". Le Guin revolutionized science fiction and loads of stuff from her is often misattributed to other artists (see James Cameron's "Avatar" and Le Guin's "The World For World is Forest")
@nikhuge6580
@nikhuge6580 3 роки тому
Great content......thank u Jeff
@emmanuelchukwu1691
@emmanuelchukwu1691 2 роки тому
Just bought the book.....It's my own way of supporting you mate....
@francoisyengue6195
@francoisyengue6195 2 роки тому
Just got the channel you rock Jeff thank you, subbed!!!
@DiaaKasem0
@DiaaKasem0 2 роки тому
Jeff You are amazing
@DarrensTechTutorials
@DarrensTechTutorials 3 роки тому
Thanks Jeff.
@minecraftchest1
@minecraftchest1 2 роки тому
Mentioned Enders Game and I was hooked.
@madhanj6289
@madhanj6289 4 місяці тому
im not sure whether you gonna see this comment, but here it is, Its less than 3hours to a new year 2024 and im watching your ansible series and reading along with the book for a better 2024. thanks for the content
@pedrohakia1
@pedrohakia1 2 роки тому
Hey Jeff, I'm Catholic too, and I loved it " I'm going to pray for you, either you like it or not"hahahahahaha made my day!
@soewin2011
@soewin2011 4 роки тому
thank for your sharing ansible 1010
@ESquared42
@ESquared42 Рік тому
Omg Ender's Game is an absolute classic!! That's actually the first "big" book i finished when I was in like 6th grade. Ender's Shadow is a wonderful book too, its the whole story from Bean'a perspective.
@KaliszAd
@KaliszAd 4 роки тому
@JeffGeerling For those on Windows, you can use Chocolatey.org package manager (the installation is copy&paste of one PowerShell line) with 'choco install virtualbox vagrant -y' and have the environment available in no time. In a directory of your choosing, you can then run 'vagrant init geerlingguy/ubuntu1804', 'vagrant up' and 'vagrant ssh' and have an environment for just playing with Ansible. You can always use Ansible on the local machine, just use 'localhost' as the host. On Windows, it is a bit harder to then spin up other machines, that you can talk to. You might want to have a look at private networking in your Vagrantfiles or just use the Windows Subsystem for Linux for Ansible and vagrant to spin up your test machines. You might also use so called nested virtualization, but that can make stuff more complex stil. If you are interested in that, here is a great video by David Bombal: ukposts.info/have/v-deo/gn2FZqegpH99moU.html
@seddikalaouiismaili
@seddikalaouiismaili 4 роки тому
good job jeff
@joseantoniozarzosa7805
@joseantoniozarzosa7805 2 роки тому
¡Gracias!
@rajitpaul678
@rajitpaul678 3 роки тому
Big Ups!! Thank you! Cheers :D
@vesakk72
@vesakk72 3 роки тому
Awesome!
@ahmedelshafaie
@ahmedelshafaie 4 роки тому
Actually appreciate your effort
@xiHocusPocus
@xiHocusPocus 3 роки тому
Love you Jeff
@anushkuladeepa
@anushkuladeepa 3 роки тому
You're so humble :)
@zx1986
@zx1986 4 роки тому
謝謝你!
@noelyabao7306
@noelyabao7306 3 роки тому
Thank you.
@chickenonaraft4941
@chickenonaraft4941 2 роки тому
You are a Saint, and I am buying your book
@hotrodhunk7389
@hotrodhunk7389 8 місяців тому
Love your videos! I also love technology something that's one or two clicks for one person can be an hour of troubleshooting for another 😅😂
@rubodsingh7555
@rubodsingh7555 3 роки тому
very good lesson...even better than cloud guru ..i guess !! Can't wait for next ones !!
@getHornbied
@getHornbied 2 роки тому
"Cent OS should be supported for years" /s. Excellent video!
@Alex-os5co
@Alex-os5co Рік тому
Fantastic video - thanks Jeff. Hope you're feeling better. I brought the book to follow along with as well. I wonder whether it's worth mentioning that Virtual Box doesn't support apple silicon in your book? I know you mention it's the perfect choice as it's open source, free and works on Windows, Linux & Mac but that's not really the case anymore for any new Mac purchase (well almost). Just a thought, otherwise loving the content.
Ansible 101 - Episode 2 - Ad-hoc tasks and Inventory
1:02:45
Jeff Geerling
Переглядів 121 тис.
Ansible 101 - Episode 4 - Your first real-world playbook
51:28
Jeff Geerling
Переглядів 66 тис.
Эффект Карбонаро и соковыжималка
01:01
История одного вокалиста
Переглядів 1,5 млн
This web UI for Ansible is so damn useful!
20:07
Christian Lempa
Переглядів 437 тис.
you need to learn Ansible RIGHT NOW!! (Linux Automation)
21:21
NetworkChuck
Переглядів 836 тис.
Say Goodbye to Containers - Ephemeral Environments with Nix Shell
16:58
DevOps Toolkit
Переглядів 127 тис.
Corporate Open Source is Dead
6:55
Jeff Geerling
Переглядів 320 тис.
My Mac sets up itself-with Ansible!
7:43
Jeff Geerling
Переглядів 94 тис.
Big NAS, Lil NAS (moving 13)
16:41
Jeff Geerling
Переглядів 105 тис.
Ansible Tips and Tricks
49:32
Red Hat Ansible Automation
Переглядів 8 тис.
This RISC-V cyberdeck is not for you
9:15
Jeff Geerling
Переглядів 218 тис.
Портативная PS 5 🎮 #ps5 #expressly
0:22
ExpresSLY Shorts
Переглядів 22 тис.
Rabbit R1: Barely Reviewable
19:53
Marques Brownlee
Переглядів 7 млн
Крутое обновление microReader!
5:54
Заметки Ардуинщика
Переглядів 31 тис.
Что еще за обходная зарядка?
0:30
Не шарю!
Переглядів 356 тис.
Такого вы точно не видели #SonyEricsson #MPF10 #K700
0:19
BenJi Mobile Channel
Переглядів 2,9 млн