Jeff Geerling (geerlingguy) dives deeper into Ansible, exploring the basic unit of automation, Ansible Playbooks.
This episode will follow material from chapters 3 and 4 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:04:25 – Questions from last episode
00:08:20 – Multi-host ad-hoc orchestration
00:19:02 – Using different modules ad-hoc
00:24:38 – Intro to Playbooks
00:28:18 – Comparing to shell scripts
00:32:35 – Moving commands into YAML playbooks
00:39:28 – Making playbooks more Ansible-ish
00:53:02 – Running the Apache playbook
00:56:24 – Limiting playbook runs to specific servers
01:00:14 – Outtro
source