Created
October 27, 2020 19:16
-
-
Save peterkowalski/ca413c5477193b28252b9a0433f7a9b7 to your computer and use it in GitHub Desktop.
[Decrypt Ansible variable] Ad-hoc command to decrypt Ansible variable from a file with a specific vault password #ansible #adhoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansible localhost -m debug -a var="passwordVariable" -e "@encrypted-file.yml" --vault-password-file ~/password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment