FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


preparation:fhhome:test.py.html



Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
preparation:fhhome:test.py.html [2019/02/13 00:14]
kurihara
preparation:fhhome:test.py.html [2019/02/13 00:16]
kurihara
Line 2: Line 2:
 ====== $FHHOME/$FHLINUX/fabfile/test.py ====== ====== $FHHOME/$FHLINUX/fabfile/test.py ======
  
 +\\
 +{{INLINETOC}}
 +\\
  
  
 +===== Operation =====
 +<sxh bash toolbar:false gutter:false>
 +$ echo xx.xx.xx.xx | fab -- hostname
 +$ echo xx.xx.xx.xx | fab -- sudo cat /etc/shadow
  
 +$ fab local_hostname
 +
 +$ fab -l |grep test.    # check options
 +
 +$ echo xx.xx.xx.xx | fab  test.hostname
 +$ fhghost.sh "*" hosts/test | fab  test.hostname
 +</sxh>
 +
 +\\
 ===== fabfile/test.py ===== ===== fabfile/test.py =====
  


preparation/fhhome/test.py.html.txt · Last modified: 2019/02/13 00:18 by kurihara