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 | ||
|
appendix:fabric-vs-others.html [2020/02/20 23:33] kurihara |
appendix:fabric-vs-others.html [2020/02/20 23:46] (current) kurihara |
||
|---|---|---|---|
| Line 101: | Line 101: | ||
| $ ansible -i 192.168.0.10, | $ ansible -i 192.168.0.10, | ||
| </ | </ | ||
| + | |||
| + | \\ | ||
| + | >The given command will be executed on all selected nodes. It will not be processed through the shell, so variables like $HOME and operations like “<”, “>”, “|”, “;” and “&” will not work (use the shell module if you need these features). | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| - | $ ansible -i 127.0.0.1, all -u root -k -a " | + | $ ansible -i 192.168.0.30, all -m shell -a " |
| + | $ ansible -i 192.168.0.30, | ||
| + | </ | ||
| + | |||
| + | \\ | ||
| + | <sxh bash toolbar: | ||
| + | $ ansible -i 192.168.0.10, all | ||
| SSH password: | SSH password: | ||
| - | 127.0.0.1 | SUCCESS | rc=0 >> | + | 192.168.0.10 | SUCCESS | rc=0 >> |
| root | root | ||
| </ | </ | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.