Skip to content

Instantly share code, notes, and snippets.

@us3r5pac3
Last active June 9, 2022 18:52
Show Gist options
  • Select an option

  • Save us3r5pac3/e178c6c2050458a0d68f28deb5c353bd to your computer and use it in GitHub Desktop.

Select an option

Save us3r5pac3/e178c6c2050458a0d68f28deb5c353bd to your computer and use it in GitHub Desktop.
ansible-vault decrypt secrets_file.enc
ansible-vault edit secrets_file.enc
ansible-vault encrypt secrets_file.enc
ansible-playbook -i inventory -e @secrets_file.enc --vault-password-file password_file main.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment