📅  最后修改于: 2022-03-11 14:48:36.188000             🧑  作者: Mango
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