The playbook allows the end-user to perform a cluster reset, bringing the nodes to an initial pre-provisioning state.

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 reset.yaml

Ansible Vault global password prompt:

Vault password: my-Gl0bal-Passw0rd

To faster re-deploy a cluster after reset, skip the removal of installed apt packages:

Remove installed apt packages? [Y/n] [n]: