Ansible 101 - Episode 2 - Ad-hoc tasks and Inventory
Jeff Geerling (geerlingguy) dives deeper into Ansible, looking at ad-hoc tasks and inventory groups, for managing multiple servers in groups with Ansible modules.
This episode demonstrates ad-hoc command usage and multi-server inventories with Vagrant, following chapters 3 and 4 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: www.patreon.com/geerlingguy
Contents:
00:00:00 — Intro
00:01:52 — Free books for April
00:05:31 — Intro to ad-hoc commands
00:10:00 — Multi-VM Vagrant configuration
00:20:04 — Multi-host inventory
00:28:53 — ad-hoc orchestration
00:31:16 — Forks and parallelization
00:37:14 — Setup module
00:46:32 — Becoming root with sudo
00:50:01 — ansible-doc CLI docs
00:55:13 — Targeting inventory groups
01:00:25 — Outtro