8a5ca24016aefc07132f6db9bd8efcb1c0725ab0
ANSIBLE
PRINCIPE
Ansible est un outils de configuration de machines. Ici il est utilisé pour se connecter au nouveau server où nous allons reinstaller la stack production du Garage.
INSTALLATION
python3 -m pip install --user ansible
python3 -m pip install --user ansible-core
#python3 -m pip install --user ansible-core==2.13.3 # (pour choisir une version spécifique)
USAGE
- Seul:
ansible -i inventory playbook.yml
- Avec Vagrant:
vagrant provision
Nécessite une Vagrantfile!