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 Next 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:14] kurihara |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~NOTOC~~ | ||
[[: | [[: | ||
+ | ====== $FHHOME/ | ||
- | ====== $FHHOME/ | ||
- | ===== Operation ===== | ||
- | <sxh bash toolbar: | ||
- | $ echo xx.xx.xx.xx | fab -- hostname | ||
- | $ echo xx.xx.xx.xx | fab -- sudo cat /etc/shadow | ||
- | |||
- | $ fab local_hostname | ||
- | |||
- | $ fab -l |grep test. # check options | ||
- | |||
- | $ echo xx.xx.xx.xx | fab auth.test test.hostname | ||
- | $ fhghost.sh " | ||
- | </ | ||
- | \\ | ||
===== fabfile/ | ===== fabfile/ | ||
Line 27: | Line 13: | ||
from datetime import datetime | from datetime import datetime | ||
- | FHHOME=os.environ[" | + | FHLINUX=os.environ[" |
# test.local_hostname | # test.local_hostname |
My Sites
SNS
Copyright (c) 2024 FastHandle - IT Operations Examples All Rights Reserved.