FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
preparation:fhhome:auth.py.html [2018/02/01 00:29] kurihara |
preparation:fhhome:auth.py.html [2019/02/13 00:17] (current) kurihara |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| [[: | [[: | ||
| - | ====== $FHHOME/ | + | ====== $FHHOME/windows/ |
| + | ===== Operation ===== | ||
| + | <sxh bash toolbar: | ||
| + | $ fab -l |grep -F auth. | ||
| + | auth.ciscopro | ||
| + | auth.junospro | ||
| + | auth.netapppro | ||
| + | auth.winpro | ||
| + | auth.winstg | ||
| + | ..... | ||
| + | </ | ||
| + | |||
| + | |||
| + | \\ | ||
| ===== $FHHOME/ | ===== $FHHOME/ | ||
| Line 15: | Line 28: | ||
| from fabric.contrib import files | from fabric.contrib import files | ||
| + | adding os.environ[" | ||
| - | # | ||
| - | # Linux | ||
| - | # | ||
| - | @task | ||
| - | def pro(): | ||
| - | ''' | ||
| - | env.user = ' | ||
| - | env.key_filename = ' | ||
| - | # | ||
| - | |||
| - | @task | ||
| - | def stg(): | ||
| - | ''' | ||
| - | env.user = ' | ||
| - | env.key_filename = ' | ||
| - | # | ||
| - | |||
| - | @task | ||
| - | def dev(): | ||
| - | ''' | ||
| - | env.user = ' | ||
| - | env.key_filename = ' | ||
| - | # | ||
| - | |||
| - | @task | ||
| - | def test1(): | ||
| - | ''' | ||
| - | env.user = ' | ||
| - | env.password = ' | ||
| - | |||
| - | @task | ||
| - | def test2(): | ||
| - | ''' | ||
| - | env.user = ' | ||
| - | env.password = ' | ||
| # | # | ||
| Line 72: | Line 51: | ||
| @task | @task | ||
| def ciscopro(): | def ciscopro(): | ||
| + | ''' | ||
| + | env.user = ' | ||
| + | env.password = ' | ||
| + | |||
| + | @task | ||
| + | def junospro(): | ||
| ''' | ''' | ||
| env.user = ' | env.user = ' | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.