the-bastion/doc/sphinx/plugins/open/clush.rst

40 lines
797 B
ReStructuredText
Raw Normal View History

2020-10-16 00:32:37 +08:00
======
clush
======
Launch a remote command on several machines sequentially (clush-like)
=====================================================================
.. admonition:: usage
:class: cmdusage
--osh clush [OPTIONS] --command '"remote command"'
.. program:: clush
.. option:: --list HOSTLIST
Comma-separated list of the hosts to run the command on
.. option:: --step-by-step
Pause before running the command on each host
.. option:: --no-pause-on-failure
Don't pause if the remote command failed (returned exit code != 0)
2020-10-16 00:32:37 +08:00
.. option:: --no-confirm
Skip confirmation of the host list and command
.. option:: --command '"remote cmd"'
Command to be run on the remote hosts. If you're in a shell, quote it twice as shown.
2021-04-14 19:37:30 +08:00