cd ./ansible # Ansible vault password is provided automatically by vault_password file # Path to vault_password file is provided automatically by ansible.cfg # Hence execution must be done from the context of the folder that holds ansible.cfg ansible-vault create [path-to-vault-file] ansibe-vault edit [path-to-vault-file] ansible-playbook [path-to-playbook] #include file extension