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 Last revision Both sides next revision | ||
os:linux:ope:index.html [2018/02/21 23:49] kurihara |
os:linux:ope:index.html [2018/03/14 00:33] kurihara |
||
---|---|---|---|
Line 15: | Line 15: | ||
\\ | \\ | ||
- | ==== Fabric | + | ==== Fabric |
<sxh bash toolbar: | <sxh bash toolbar: | ||
$ echo xx.xx.xx.xx | fab auth.pro -- hostname | $ echo xx.xx.xx.xx | fab auth.pro -- hostname | ||
Line 31: | Line 31: | ||
from fabric.contrib import files | from fabric.contrib import files | ||
from fabric.operations import open_shell | from fabric.operations import open_shell | ||
+ | from datetime import datetime | ||
FHHOME=os.environ[" | FHHOME=os.environ[" | ||
Line 75: | Line 76: | ||
def sudo_vi(file): | def sudo_vi(file): | ||
""" | """ | ||
- | open_shell(" | + | open_shell(" |
My Sites
SNS
Copyright (c) 2024 FastHandle - IT Operations Examples All Rights Reserved.