Rex is executed on the command line. Required parameters are fetched from the local Rexfile. The task is executed on all servers via ssh.