ansible-vault edit no vault secrets were found that could decrypt code example
Example: {"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