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:check:index.html [2018/02/21 23:48] kurihara |
os:linux:check:index.html [2019/02/11 00:41] (current) kurihara |
||
|---|---|---|---|
| Line 13: | Line 13: | ||
| $ fab -l |grep -F check. | $ fab -l |grep -F check. | ||
| check.check_ssh_hostname | check.check_ssh_hostname | ||
| - | check.nmap | + | check.nmap |
| check.ntpsync | check.ntpsync | ||
| check.ping_gw | check.ping_gw | ||
| Line 25: | Line 25: | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| - | $ fab -H $H auth.pro | + | $ fab -H $H |
| </ | </ | ||
| \\ | \\ | ||
| - | ==== Fabric | + | ==== Fabric |
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| - | $ fab -H $H auth.pro | + | $ fab -H $H -- systemctl get-default |
| - | $ FAB -H $H auth.pro | + | $ FAB -H $H -- systemctl set-default multi-user.target |
| </ | </ | ||
| Line 45: | Line 45: | ||
| from fabric.api import * | from fabric.api import * | ||
| from fabric.contrib import files | from fabric.contrib import files | ||
| + | from datetime import datetime | ||
| FHHOME=os.environ[" | FHHOME=os.environ[" | ||
| Line 60: | Line 61: | ||
| # | # | ||
| # check.nmap | # check.nmap | ||
| - | # | + | # |
| # | # | ||
| @task | @task | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.