Ansible 101 - Episode 6 - Ansible Vault and Roles
Jeff Geerling
View ChannelAbout
Father, author, developer, maker. Sometimes called "an inflammatory enigma".
Latest Posts
Video Description
Jeff Geerling (geerlingguy) explores Ansible Vault and playbook organization using Roles from chapters 5 and 6 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:06:30 - Questions from last episode 00:10:51 - Intro to Ansible Vault 00:14:00 - Encrypting a vars file with Vault 00:17:55 - Decrypt, encrypt, edit, rekey, etc. 00:21:33 - Task features - conditionals and tags 00:25:54 - Blocks 00:27:05 - Chapter 5 Cowsay 00:27:26 - Playbook organization 00:30:05 - Includes and imports 00:35:13 - Caution about dynamic tasks 00:37:18 - Playbook includes 00:39:40 - Node.js playbook example 00:46:06 - Roles 00:51:27 - Options for including Roles 00:52:30 - Real-world flexible role usage 01:00:33 - The Golden Hammer 01:01:12 - Outtro
Secure Ansible Setup Today
AI-recommended products based on this video

Handmade 2-Piece Baby Canada Set, Custom Handmade Canada Maple Leaf Long Sleeve Footed Zippered Baby Bodysuit and Hat Set (Bright Red, 3-6 months)




