command - Executes a command on a remote node ¶
Synopsis ¶
-
The command module takes the command name followed by a list of space-delimited arguments.
-
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).
-
For Windows targets, use the win_command module instead.