There was an error while loading. Please reload this page.
If you want to chain tasks you can do this with a feature called Batch.
task "task1", sub { # do something }; task "task2", "server1", "server2", sub { # do something else }; desc "Do task1 & task2"; batch "everything" => "task1", "task2";
Now you can execute the batch everything with the "-b" option.
rex -b everything