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 | ||
middleware:squid:index.html [2018/01/10 01:37] kurihara [squid.py] |
middleware:squid:index.html [2018/02/07 23:21] kurihara |
||
---|---|---|---|
Line 16: | Line 16: | ||
</ | </ | ||
+ | |||
+ | ==== Ref. Remote Shell Commands ==== | ||
<sxh bash toolbar: | <sxh bash toolbar: | ||
$ H=test-serve-01, | $ H=test-serve-01, | ||
Line 62: | Line 64: | ||
# Configuration | # Configuration | ||
# | # | ||
- | # squid.conf | + | # squid.change_squidconf: |
@task | @task | ||
- | def change_today_conf(): | + | def change_squidconf(host): |
today = datetime.now().strftime(' | today = datetime.now().strftime(' | ||
sudo(" | sudo(" | ||
- | put(" | + | put(" |
- | run(" | + | sudo(" |
- | sudo(" | + | |
</ | </ | ||
Line 75: | Line 76: | ||
\\ | \\ | ||
- | ===== Configuration ===== | + | ===== Squid Configuration |
+ | *[[middleware: | ||
*[[middleware: | *[[middleware: | ||
My Sites
SNS
Copyright (c) 2024 FastHandle - IT Operations Examples All Rights Reserved.