Skip to content

Instantly share code, notes, and snippets.

@ouyi
Created January 30, 2019 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ouyi/d5c5fc304dad76b5dc9ccecdc35ecc46 to your computer and use it in GitHub Desktop.
Save ouyi/d5c5fc304dad76b5dc9ccecdc35ecc46 to your computer and use it in GitHub Desktop.
Ansible decrypt vaulted strings
ansible --vault-password-file my-vault-password.txt -m debug -a 'var=my_secret_password' \
-i my_inventory my_host.mydomain.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment