Etude : Différence entre versions
De TARENTINO
Aller à la navigationAller à la recherche| Ligne 109 : | Ligne 109 : | ||
<td > | <td > | ||
<div style="width:500px; height:600px; top=0; right=10; overflow:auto; border:solid 1px black;"> | <div style="width:500px; height:600px; top=0; right=10; overflow:auto; border:solid 1px black;"> | ||
| − | <Font color=green>''' | + | <Font color=green>'''Installation de Ansible'''</font><br> |
| − | + | * Machines | |
| + | ** Controller Node | ||
| + | *** Python >= 2.7 | ||
| + | *** Pas de Windows | ||
| + | *** SSH | ||
| + | ** Managed Node | ||
| + | *** Python >= 2.6 | ||
| + | * Installations | ||
| + | ** Binaire | ||
| + | *** git clone https://github.com/ansible/ansible.git | ||
| + | *** cd ansible | ||
| + | *** source ./hacking/env-setup | ||
| + | *** sudo apt install python.pip | ||
| + | *** pip install --user -r ./requirements.txt | ||
| + | *** echo "127.0.0.1" > ~/ansible_hosts | ||
| + | *** export ANSIBLE_INVENTORY=~/ansible_hosts | ||
| + | *** ansible all -m ping --ask-pass | ||
</div> | </div> | ||
</td> | </td> | ||
Version du 12 novembre 2020 à 20:32
Sommaire
Ansible
Introduction
|
Qu'est ce que Ansible?
|
Notions et définitions
|
Concepts de base de l'outil
Inventory (liste des machines) >> playbook << Rôles à jouer
|
LES INSTALLATIONS (PIP, DEPOTS ET A SAVOIR)
|
Installation de Ansible
|
SSH : CLEFS ET ASTUCES
|
Titre |
FICHIER CFG : CONFIGURATION ET TUNING
|
Titre |