Skip to content

Instantly share code, notes, and snippets.

@Dimfred
Last active December 4, 2022 11:01
Show Gist options
  • Save Dimfred/8da3e80103b89c9a68b17be2c8859f0d to your computer and use it in GitHub Desktop.
Save Dimfred/8da3e80103b89c9a68b17be2c8859f0d to your computer and use it in GitHub Desktop.
Ansible Vault: Read password from stdin and print to stdout
echo password | EDITOR=cat ansible-vault edit --vault-password-file /bin/cat test.vault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment