voult ansible code example
Example 1: ask vault pass ansible
--ask-vault-pass
Example 2: how to pass ansible vault password file
ansible-playbook -i <inventory> --vault-password-file <vault_password_file>
--ask-vault-pass
ansible-playbook -i <inventory> --vault-password-file <vault_password_file>