You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
536 B
27 lines
536 B
# 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
|
|
|
|
```bash
|
|
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:
|
|
```bash
|
|
ansible -i inventory playbook.yml
|
|
```
|
|
|
|
- Avec Vagrant:
|
|
```bash
|
|
vagrant provision
|
|
```
|
|
> Nécessite une Vagrantfile! |