Provisioning
The playbook allows the end-user to perform an initial cluster deployment, or a cluster re-deployment, after a performed cluster reset.
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 provisioning.yaml
Ansible Vault global password prompt:
Vault password: my-Gl0bal-Passw0rd
Tags
The end-user can use Ansible tags, in order to re-deploy specific segments of playbook.
Example of re-deploying the kubernetes
playbook segment:
ansible-playbook --ask-vault-pass --tags=kubernets,charts provisioning.yaml
Since the cluster
role OS updates are fully automated, using the above tags allows end-user to save time re-deploying the cluster, after a reset.