Fabric
De Linuxmemo.
(Différences entre les versions)
(→Commande "fab") |
|||
| Ligne 9 : | Ligne 9 : | ||
==Commande "fab"== | ==Commande "fab"== | ||
| + | fab -H localhost,linuxbox fonction | ||
| + | fab -R role fonction | ||
| + | |||
| + | fab -H localhost -f fabfile.py fonction | ||
| + | fab -H localhost -f fabfile.py -l | ||
==Fichier de commande: "fabfile"== | ==Fichier de commande: "fabfile"== | ||
===syntaxe du "fabfile" === | ===syntaxe du "fabfile" === | ||
Version du 1 juillet 2012 à 14:34
http://docs.fabfile.org/en/1.4.2/index.html
Sommaire |
Installation
apt-get install fabric
ou bien
apt-get install python-pip pip install fabric
Commande "fab"
fab -H localhost,linuxbox fonction fab -R role fonction
fab -H localhost -f fabfile.py fonction fab -H localhost -f fabfile.py -l