Reset

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

Important

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

Execution

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]:

Tip

Pressing Enter is equivalent to selecting the default [n] option.