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
Next revision
Previous revision
Last revision Both sides next revision
preparation:fhhome:test.py.html [2018/05/08 00:52]
kurihara
preparation:fhhome:test.py.html [2019/02/13 00:16]
kurihara
Line 1: Line 1:
-~~NOTOC~~ 
 [[:index.html#Preparation|Top#Preparation]] [[:index.html#Preparation|Top#Preparation]]
 +====== $FHHOME/$FHLINUX/fabfile/test.py ======
  
-====== $FHHOME/fabfile/test.py ======+\\ 
 +{{INLINETOC}} 
 +\\
  
  
Line 14: Line 16:
 $ fab -l |grep test.    # check options $ fab -l |grep test.    # check options
  
-$ echo xx.xx.xx.xx | fab auth.test test.hostname +$ echo xx.xx.xx.xx | fab  test.hostname 
-$ fhghost.sh "*" hosts/test | fab auth.test test.hostname+$ fhghost.sh "*" hosts/test | fab  test.hostname
 </sxh> </sxh>
  
Line 27: Line 29:
 from datetime import datetime from datetime import datetime
  
-FHHOME=os.environ["FHHOME"]+FHLINUX=os.environ["FHLINUX"]
  
 # test.local_hostname # test.local_hostname


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