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 | ||
|
os:linux:set:index.html [2018/02/14 01:32] kurihara |
os:linux:set:index.html [2019/02/11 00:40] (current) kurihara |
||
|---|---|---|---|
| Line 13: | Line 13: | ||
| $ fab -l |grep set | $ fab -l |grep set | ||
| - | $ fab -H $H auth.pro | + | $ fab -H $H |
| - | $ fab -H $H auth.pro | + | $ fab -H $H |
| </ | </ | ||
| - | + | \\ | |
| - | ==== Fabric | + | ==== Fabric |
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| $ H=test-server-1 | $ H=test-server-1 | ||
| - | $ fab -H $H auth.pro | + | $ fab -H $H -- hostname |
| # LANG | # LANG | ||
| - | $ fab -H $H auth.pro | + | $ fab -H $H -- localectl status |
| - | $ fab -H $H auth.pro | + | $ fab -H $H -- ' |
| </ | </ | ||
| Line 39: | Line 39: | ||
| from fabric.contrib import files | from fabric.contrib import files | ||
| from fabric.contrib.files import sed, append, contains | from fabric.contrib.files import sed, append, contains | ||
| + | from datetime import datetime | ||
| FHHOME=os.environ[" | FHHOME=os.environ[" | ||
| Line 171: | Line 172: | ||
| | [[os: | | [[os: | ||
| | [[os: | | [[os: | ||
| - | | / | + | | [[os: |
| | [[os: | | [[os: | ||
| - | | / | + | | / |
| \\ | \\ | ||
| ==== Deamon ==== | ==== Deamon ==== | ||
| - | |< | + | |< |
| - | | / | + | | [[os: |
| - | | / | + | | [[os: |
| - | | / | + | | / |
| + | | [[os: | ||
| \\ | \\ | ||
| ==== Kernel ==== | ==== Kernel ==== | ||
| |<100% 200px ->| | |<100% 200px ->| | ||
| - | | [[os: | + | | [[os: |
| Line 211: | Line 213: | ||
| |<100% 200px ->| | |<100% 200px ->| | ||
| - | | [[os: | + | | [[os: |
| + | | / | ||
| + | | [[os: | ||
| + | | / | ||
| + | | / | ||
| + | | / | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.