Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

{"msg": "Attempting to decrypt but no vault secrets found"}

ansible-playbook test.yml --vault-password-file path_to/vault_secret.sh

or

#Add to ansible.cfg:
[defaults]
vault_password_file=path_to/vault_secret.sh

or 

ansible-playbook copy.yaml -i hosts.ini --ask-vault-pass
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #decrypt #vault #secrets
ADD COMMENT
Topic
Name
6+5 =