Ansible 101 – Episode 1 – Introduction to Ansible
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
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
source
Leave us a comment Cancel reply
COMMON QUESTIONS
Categories
- Agile Coach
- ARTIFICIAL INTELLIGENCE
- Block chain
- Business Analyst BA
- DATA science
- Development
- Devops Automation
- Dotnet
- Education
- Free Job training and assistance
- Information
- Infrastructure automation
- Interview questions
- JAVA
- jobs
- Learn
- Machine learning
- Python Automation
- QA Automation
- RPA Automation
- SAP crm
- Scrum master Agile
- Skill
- UI Design
- Uncategorized
40 Comments
Jeff Geerling
May 09, 2022 08:21 am0:29 – less than a minute in, already touching the face. Stay safe folks, wash your hands!
Conall
May 09, 2022 08:21 amlooking forward to watching this series. Thanks for the effort , Jeff.
Rebel Yell
May 09, 2022 08:21 amHey 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!
François Yengue
May 09, 2022 08:21 amJust got the channel you rock Jeff thank you, subbed!!!
Two Good
May 09, 2022 08:21 amNew student just over two years late. Thanks so much! Unfortunately a decade was optimistic
HC LW
May 09, 2022 08:21 amThanks Jeff!
MaxHax42
May 09, 2022 08:21 amLooking 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?
curmudgeonIII
May 09, 2022 08:21 amJeff, 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).
Gilgwath
May 09, 2022 08:21 amThank you for the great tutorial 🙂 I only watched this first one, and I can already tell this will be a good series.
Duckworks
May 09, 2022 08:21 amChecking 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.
Windows Player
May 09, 2022 08:21 am34:50 – Aged like milk
andreja jovanovski
May 09, 2022 08:21 amHi, CentOS is EOL and you need to update Vagrant conf and changed in the book.Thanks
BotSlayman
May 09, 2022 08:21 amof 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.
AZİZ AYYILDIZ
May 09, 2022 08:21 amThank you for this series
HermannPaschulke
May 09, 2022 08:21 amThe part at 34:45 hit really hard 🙁
rawswede
May 09, 2022 08:21 amwhy do all developers run mac, what is so special with it?
Diaa Kasem
May 09, 2022 08:21 amJeff You are amazing
Tony Ma
May 09, 2022 08:21 amdoes virtualbox work for M1 Macs? Can I use UTM instead?
W Hornby
May 09, 2022 08:21 am"Cent OS should be supported for years" /s. Excellent video!
m venkatesh
May 09, 2022 08:21 amSubscribed.
m venkatesh
May 09, 2022 08:21 amGood video thanks a lot 👍
luke B
May 09, 2022 08:21 amGreat stuff Jeff!
to be honest i thought you was just the crazy pi guy, now im learning ansible with you🤯😂
Thank you👌😁
Eivind Amundsen
May 09, 2022 08:21 amGreat stream! Thanks! That very last comment in your video didn't age well, though… 🙁
Hans Carlsson
May 09, 2022 08:21 amUgg… 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.
s.q
May 09, 2022 08:21 am40:00 Cent OS is no longer supported by red heat as of 2022
s.q
May 09, 2022 08:21 am2022 and the corona still going on smh
machiano momano
May 09, 2022 08:21 amyou are the best man
Ali Hussein
May 09, 2022 08:21 amThank you for the perfect explanation for every think.
Jim Losinsky
May 09, 2022 08:21 amFantastic Ansible Tutorial 🙏😀❤️🎄🎄🎄
dean woodward
May 09, 2022 08:21 amMore than a year and a half later, still pandemic. Going to be a while, I'm guessing.
noferblatz
May 09, 2022 08:21 amCorrection 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".
Minecraft Chest1
May 09, 2022 08:21 amYAML? Eww.
Minecraft Chest1
May 09, 2022 08:21 amMentioned Enders Game and I was hooked.
Anthony Russano
May 09, 2022 08:21 amThank you Jeff!
George Leonard
May 09, 2022 08:21 amquestion, 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
MrGoatflakes
May 09, 2022 08:21 amIn 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.
George Leonard
May 09, 2022 08:21 amJeff, 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…
Lazy Programmer.
May 09, 2022 08:21 amThanks a lot for the amazing content you put on Youtube for free.
Andres Montoya
May 09, 2022 08:21 am"I'm not a Python developer"
Makes his tool in Python anyway. Elaborates profusely.
What a Chad.
Jeremy S
May 09, 2022 08:21 amrepping this series at AnsibleFest 2021 for you Jeff! People have already seen it or will be watching soon!