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/14 01:57] kurihara |
os:linux:ope:index.html [2018/03/14 00:33] kurihara |
||
---|---|---|---|
Line 14: | Line 14: | ||
</ | </ | ||
- | ==== Ref. Remote Shell Commands | + | \\ |
+ | ==== Fabric one-line Task Examples | ||
<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 30: | 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 74: | 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.