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 | ||
middleware:nginx:index.html [2018/02/12 01:19] kurihara |
middleware:nginx:index.html [2019/02/11 00:45] (current) kurihara |
||
---|---|---|---|
Line 16: | Line 16: | ||
<sxh bash toolbar: | <sxh bash toolbar: | ||
$ H=test-server-1, | $ H=test-server-1, | ||
- | $ fab -H $H auth.pro | + | $ fab -H $H |
</ | </ | ||
- | + | \\ | |
- | ==== Ref. Remote Shell Commands | + | ==== Fabric Temporary Run Call Examples |
<sxh bash toolbar: | <sxh bash toolbar: | ||
$ H=test-server-1, | $ H=test-server-1, | ||
- | $ fab -H $H auth.pro | + | $ fab -H $H |
- | $ fab -H $H auth.pro | + | $ fab -H $H |
- | $ fab -H $H auth.pro | + | $ fab -H $H |
- | $ fab -H $H auth.pro | + | $ fab -H $H |
- | $ fab -H $H auth.pro | + | $ fab -H $H |
- | $ fab -H $H auth.pro | + | $ fab -H $H |
</ | </ | ||
Line 44: | Line 44: | ||
from fabric.api import * | from fabric.api import * | ||
from fabric.contrib import files | from fabric.contrib import files | ||
+ | from datetime import datetime | ||
# | # | ||
Line 65: | Line 66: | ||
# nginx.check_files_etc_nginx | # nginx.check_files_etc_nginx | ||
@task | @task | ||
- | def check_nginx | + | def check_nginx.conf(): |
''' | ''' | ||
sudo(" | sudo(" |
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.