The playbook allows the end-user to perform various Ansible Vault related tasks, like listing currently encrypted role variables, encryption of a specific role variable and update of Ansible Vault global password.

Refer to the Ansible tutorial, for usage of encrypted variables and files.


Example of playbook execution, using the Ansible Vault global password:

ansible-playbook --ask-vault-pass vault.yaml

Ansible Vault global password prompt:

Vault password: my-Gl0bal-Passw0rd