Getting started with Ansible 06 - Writing our first Playbook

preview_player
Показать описание
Ansible is an incredible configuration management and provisioning utility that enables you to automate all the things. In this series, you'll learn everything you need to know in order to use Ansible for your day-to-day administration duties. In video #6, we get started on writing playbooks, which is how we'll use Ansible from here on out.

Full series:
Part 6 (This video)

🙌 Support me on Patreon and get early access to new content!

☁️ Get $100 in credit toward deploying your very own Linux servers on Linode!

🛒 Affiliate store for Linux compatible hardware/accessories (commission earned):

💻 Check out the Tiny Pilot KVM for your Homelab (commission earned):

Wiki article for this video:

🐦 Follow me on Twitter!

📖 Check out jay's latest book, Mastering Ubuntu Server 3rd Edition. Available now!

👨 More about me:

💽 How to create a bootable flash drive for installing Linux:

🐧 Which distro do I use?

🔐 How to better secure OpenSSH:

☁️ How to create a cloud Linux server with Linode:

#AnsiblePlaybook #Ansible #LearnAnsible
Рекомендации по теме
Комментарии
Автор

this guy is amazing, even better than the videos that i pay on udemy

yichengliu
Автор

Thanks! I’m enjoying this Ansible series with Git also!

ToGoMania
Автор

You are an amazing tutor. Am now a pro in ansible and git just by watching your tutorial

bensonwaweru
Автор

I've started and stopped with Ansible videos before because they just didn't explain everything I needed to know. I'm so happy I found this series because I am finally getting all the info I need to get it working. I appreciate how you explain everything and make it so easy to understand. Thank you!

KenPryor
Автор

I wish there were more youtubers like you... This Ansible series is fantastic!

fabrice
Автор

the pace of the explanation is awesome. just what I needed. thank you for sharing your knowledge with us.

zhulianstoyanov
Автор

For the amount of videos that I have been watching, none is better than Jay's. Bless you and your family.

HungNguyen-sixe
Автор

this is a really great series. i never thought i could get this kind of quality instruction on youtube.

kodikodi
Автор

One of the finest technical presentation series I've seen. Well done ! thank you

walterkelt
Автор

I finally found the time to sit down and set this up on my homelab. Not only does it feel great to have ansible/automation working, but this also has been a great way to truly understand how ssh keys and git work from the command line. Top notch content. Thank you so much for enabling all of us noobs to upskill and do cool stuff!!

CoreyTyhurst
Автор

"I won't judge you even if it's emacs", lol, you killed me
Thank you so much for your work. Know that it helps a lot demystifying Ansible.

jean-philippehenry
Автор

Thanks for the great series. Though I am not new to ansible, one can always learn something from others so I decided to watch them all.

I know it may sound trivial, but I think it is an important correction, or at least something that should be conveyed.

You refer to tasks within a play as plays. This may trip folks up if/when they ever test or go to certify on the topic.

For example:
---
# Simple playbook with two plays
- name: name of first play
hosts: all
tasks:
- name: name of first task
<snip>
- name: name of second task
<snip>
- name: name of second play
- name: name of first task
<snip>
- name: name of second task
<snip>

In all honesty, most of us simply execute all of our items within a single play but as individual tasks... however I think its fairly important to distinguish the differences between plays and tasks. Another way to look at it is that the first, non-tabbed column are individual plays, everything indented underneath them is part of that play.

I hope this just came through as a suggestion for completeness and not a nitpick. :) Thanks again for taking the time to film, edit, and share your videos.

Pghpete
Автор

Great introduction to Ansible. The depth and pace you adopt are just right. The section on ssh, git was very useful to have a great start in doing things the right way.

khalidssattar
Автор

I have to say, your videos are perfect! At first I saw other shorter tutorials about ansible on youtube but I had many questions that werent answered there. Then followed your tutorial and I am not even half your course yet but I can say that your course is great. It is as if you know what is in my head becouse you always explain everything I have in mind watching your tutorial. Perfectly organized and it just all makes sense . Great job and thank you for your work!

hovasty
Автор

Thank you soo much for this series and all the other ones you do.

mathewmickle
Автор

playing your videos in 1.25 speed is perfect

bashardlaleh
Автор

so great content on ansible, easy to understand and follow

wmrhhwq
Автор

Jay, great series on Ansible! Just to let you know, I created three identical Ubuntu 20.04 LTS Server VMs in Virtual Box (by creating one and cloning the other two), then changed the hostnames on the 2nd and 3rd VM and set all Servers to static IP addresses before following your video series on running ansible playbooks. I performed all of this by setting up the VMs on my FerenOS Main PC allocating 1GB VRAM to the Servers, then did everything else from my Acer Aspire laptop. I was totally successful in running everything that you did in your videos. Being a retired IT guy myself, I found it extremely rewarding to be able to run multiple command executions on multiple servers simultaneously on a Linux (versus Windows) network. Great job!

DanCalloway
Автор

A good series, thank you. I look forward to the next episodes.

kenrq
Автор

Dear Jay, your illustration of the first playbook was amazing. I loved it. Thank you again !!. Mat.

mathewkargarzadeh