FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


operation:fabric.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
operation:fabric.html [2018/04/24 13:43]
kurihara [Example fab command]
operation:fabric.html [2020/01/22 09:22] (current)
kurihara [About Fabric]
Line 10: Line 10:
  
 ===== About Fabric ===== ===== About Fabric =====
-http://www.fabfile.org/ 
  
->Fabric is a Python (2.5-2.7) library and command-line tool for streamlining the use of SSH for application deployment or systems administration tasks.+Fabric is a Python library and command-line tool for streamlining the use of SSH for application deployment or systems administration tasks.  
 + 
 +|<100% 100px ->| 
 +| Fabric   | Python (2.5-2.7)\\ http://www.fabfile.org/                                                                                                                                                                         | 
 +| fabric2  | Python (2.7, 3.4+)\\ http://www.fabfile.org/                                                                                                                                                                       | 
 +| fabric3  | Python (2.7, 3.4+) . \\ Fabric3 is a fork of Fabric to provide compatability with Python 3.4+. The port still works with Python 2.7.\\ https://pypi.org/project/Fabric3/\\ https://github.com/mathiasertl/fabric/  |
  
  
Line 49: Line 53:
  
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
-$ fab -H test-server-1 -u user01 -p XXXX -- whoami+$ fab -H test-server-1 -u user01 -p XXXX -- hostname 
 +$ fab -H test-server-1,test-server-2 -u user01 -p XXXX -- hostname
 </sxh> </sxh>
  


operation/fabric.html.1524545021.txt.gz · Last modified: 2018/04/24 13:43 by kurihara