Rollouts
This page describes the process of deploying a rollout of the infrastructure as code.
A rollout requires the following pre-requisites:
- the
ansible-vaultsecret - the ssh users
sudopassword (become password in Ansibles words)
First clone the git repository at git.shivering-isles.com/w4tsn/infrastructure.git.
A full deploy is described in site.yml, a base deploy in base.yml and some other use-cases are covered in the rest of the YAML files (playbooks).
A full deploy of the whole infrastructure is initiated through
ansible-playbook --ask-vault-pass -i inventory site.yml
Other deployments are possible too:
# base-only deployment filtered by inventory host
ansible-playbook --ask-vault-pass -i inventory -l bench03.laboratory.openalchem.ist base.yml
# running backups on all hosts
ansible-playbook --ask-vault-pass -i inventory backup.yml