Ansible for secure automation
Ansible touches everything with root, which makes it either your best control or your worst incident. This is the security course that sits on top of the Ansible fundamentals: keep secrets out of the repo and out of the logs, scope escalation to the tasks that need it, bound the blast radius of every run, guard the destructive tasks, treat Galaxy content as the third-party code it is, and leave an audit trail somebody can actually read afterwards.
01
Secrets that never leak
4 lessons01Inventory and variable securityWhere secrets hide in group_vars.14 min02ansible-vault workflowsEncrypting files and single values, key rotation.14 min03Runtime secrets from a real secret managerLookups against Vault, AWS, and Azure.14 min04Keeping secrets out of logs & artifactsno_log, --diff leaks, and callback plugins.12 min
02
Running it safely
4 lessons03
Hardening, testing & scale
4 lessons01The control node & the SSH pathHost keys, bastions, and agent forwarding.14 min02Roles and collections supply chainGalaxy content is third-party code.14 min03Linting, molecule & policy gatesCatch it in CI, not on the fleet.14 min04RBAC & audit trail at scaleAWX/AAP, credentials, and who ran what.14 min
Progress is saved in this browser only — no account required.
Final exam
Test yourself on everything
18 questions drawn from all 2 sections — every answer explained as you pick.