In this video, the sixth of the Ansible mini-series, I show how to use environment variables and secrets.
GitHub Playbook:
https://github.com/JamesTurland/JimsGarage/tree/main/Ansible/Playbooks/Secrets-Variables
Recommended Hardware: https://github.com/JamesTurland/JimsGarage/blob/main/Homelab-Buyer's-Guide/Q3-2023.md
Support this channel to get access to perks:
https://www.youtube.com/channel/UCUUTdohVElFLSP4NBnlPEwA/join
Discord: https://discord.gg/qW5vEBekz5
Twitter: https://twitter.com/jimsgarage_
Reddit: https://www.reddit.com/user/Jims-Garage
GitHub: https://github.com/JamesTurland/JimsGarage
00:00 - Introduction to Video
00:30 - Overview of Variables and Secrets
01:23 - Variables
03:12 - Secrets
06:20 - Run Playbook With Variables & Secrets
07:58 - Checking It Works
08:18 - Editing Secret File
09:52 - Outro