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: https://www.ansiblefordevops.com
Sponsor Jeff on GitHub: https://github.com/sponsors/geerlingguy
Support Jeff on Patreon: https://www.patreon.com/geerlingguy
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
0:29 – less than a minute in, already touching the face. Stay safe folks, wash your hands!
looking forward to watching this series. Thanks for the effort , Jeff.
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!
Just got the channel you rock Jeff thank you, subbed!!!
New student just over two years late. Thanks so much! Unfortunately a decade was optimistic
Looking at this in 2022 from a newb perspective : Everything I find around Vagrant seems a little bit old. Like for example, I wanted it to integrate with my proxmox VE cluster, and the (community) provider for proxmox doesnt seem to work with todays Vagrant versions – and doesnt seem to be maintained. Same goes for the Azure provider (might still work – but no longer maintained)
Currently I dont really see much added value compared to a docker container – it seems a bit equivalent. Except for the 'provisioning' options and shared folder. Right? Or am I missing the point?
Jeff, having problem trying to print contents of your 'ansible-for-devops.pdf using Abobe Acrobat DC. Bought both ansible-dev-ops & ansible for kuberntes and can not print contents with either. Might want to look into this issue(s).
Thank you for the great tutorial 🙂 I only watched this first one, and I can already tell this will be a good series.
Checking in on March 6, 2022 to say that "The craziest timeline of your life" has managed to get crazier. Fun further note for anyone watching a decade into the future.
34:50 – Aged like milk
Hi, CentOS is EOL and you need to update Vagrant conf and changed in the book.Thanks
of all the things that changed in those 2 short years who would have thought it'd be the death of CentOS. That's sort of wild.
Thank you for this series
The part at 34:45 hit really hard 🙁
why do all developers run mac, what is so special with it?
Jeff You are amazing
does virtualbox work for M1 Macs? Can I use UTM instead?
"Cent OS should be supported for years" /s. Excellent video!
Good video thanks a lot 👍
Great stuff Jeff!
to be honest i thought you was just the crazy pi guy, now im learning ansible with you🤯😂
Great stream! Thanks! That very last comment in your video didn't age well, though… 🙁
Ugg… as soon as I saw that Ansible uses Yaml, that disqualified it for me. If there is something I hate more than JSON it's Yaml.
40:00 Cent OS is no longer supported by red heat as of 2022
2022 and the corona still going on smh
you are the best man
Thank you for the perfect explanation for every think.
Fantastic Ansible Tutorial 🙏😀❤️🎄🎄🎄
More than a year and a half later, still pandemic. Going to be a while, I'm guessing.
Correction on your definition of "ansible". Ursula K. LeGuin created this word/concept in a sci fi book she wrote decades ago (I forget which one). It was such a great concept that it's been copied by others, including in "Ender's Game".
Mentioned Enders Game and I was hooked.
Thank you Jeff!
question, you ansible.cfg, inventory and playbook.yml, in which directory do you store it, all inside your vagrant directory, as you reference it in your Vagrant file, or can you potentially more complete path specify things, with environment variables
In Unix type operating systems you should never use a password on the command line as ps can see it. For every user. Stick it in a file or have it prompt you.
Jeff, downloaded your most recent Vagrant Centos8 (also tried the debian9 and Ubuntu 20.04 ) box, trying to deploy it on the most recent VBox.. and running into not compatible problem…
Thanks a lot for the amazing content you put on Youtube for free.
"I'm not a Python developer"
Makes his tool in Python anyway. Elaborates profusely.
What a Chad.
repping this series at AnsibleFest 2021 for you Jeff! People have already seen it or will be watching soon!