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 | ||
|
operation:specify.html [2018/02/14 00:58] kurihara |
operation:specify.html [2019/02/11 00:32] (current) kurihara |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| \\ | \\ | ||
| {{INLINETOC}} | {{INLINETOC}} | ||
| + | \\ | ||
| + | |||
| + | I extended Fabric to make it easier to specify the servers. | ||
| + | I call the modified Fabric FastHandle. | ||
| + | |||
| \\ | \\ | ||
| Line 9: | Line 14: | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| $ H=192.168.0.10 | $ H=192.168.0.10 | ||
| - | $ fab -H $H auth.pro | + | $ fab -H $H -- hostname |
| </ | </ | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| - | $ fab -H 192.168.0.10 | + | $ fab -H 192.168.0.10 |
| - | $ fab -H 192.168.0.10 | + | $ fab -H 192.168.0.10 |
| </ | </ | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| - | $ echo 192.168.0.10 | fab auth.pro | + | $ echo 192.168.0.10 | fab -- hostname |
| - | $ echo 192.168.0.10 | fab auth.pro | + | $ echo 192.168.0.10 | fab test.test |
| </ | </ | ||
| Line 28: | Line 33: | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| $ H=192.168.0.10, | $ H=192.168.0.10, | ||
| - | $ fab -H $H auth.pro | + | $ fab -H $H -- hostname |
| </ | </ | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| - | $ fab -H 192.168.0.10, | + | $ fab -H 192.168.0.10, |
| - | $ fab -H 192.168.0.10, | + | $ fab -H 192.168.0.10, |
| </ | </ | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| - | $ echo " | + | $ echo " |
| - | $ echo " | + | $ echo " |
| - | $ echo 192.168.0.10\\n192.168.0.11 | fab auth.pro | + | $ echo 192.168.0.10\\n192.168.0.11 | fab -- hostname |
| </ | </ | ||
| Line 49: | Line 54: | ||
| 192.168.0.1 test-web-01 | 192.168.0.1 test-web-01 | ||
| 192.168.0.1 test-web-02 | 192.168.0.1 test-web-02 | ||
| - | $ cat tmp | fab auth.pro | + | $ cat tmp | fab test.test |
| </ | </ | ||
| Line 66: | Line 71: | ||
| 192.168.0.99 test-web-99 | 192.168.0.99 test-web-99 | ||
| $ | $ | ||
| - | $ fhghost.sh test-web hosts/test | fab auth.pro | + | $ fhghost.sh test-web hosts/test | fab test.test |
| - | $ fhghost.sh | + | $ fhghost.sh |
| </ | </ | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.