Vars Files vs Extra Vars: Which Minimizes Accidental Public Exposure?
Goal Prevent secrets from being unintentionally exposed or overridden during Ansible playbook execution, especially in CI/CD pipelines. Constraints Variable precedence places --extra-vars at the top, meaning any value supplied via the command line will override all other sources. In contrast, vars_files are loaded after role defaults but before play-level va