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/26 00:42] kurihara [Table] |
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 |
| </ | </ | ||
| Line 22: | Line 22: | ||
| $ 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 182: | Line 183: | ||
| | [[os: | | [[os: | ||
| | / | | / | ||
| + | | [[os: | ||
| \\ | \\ | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.