Interview Prep/Ansible/Security: Vault, Become and Compliance

You must prove to auditors which changes were made and by whom.

IntermediateScenarioSecurity: Vault, Become and Compliance
Answer

Situation read → Audit trail.

What I'd do →

  1. Run everything through AWX/CI so each job records user, inventory, commit, and output.
  2. Forward job events to SIEM.
  3. Use named SSH users, not shared ones, and sudo logging on targets.
  4. Enable log_path or callbacks (json, ara) on the controller.

Why → Git tells what was intended; the job log tells what ran.

Interview tip → ARA Records Ansible gives a searchable run history.

All Ansible questions Roadmap: Ansible

More on Security: Vault, Become and Compliance