Skip to main content

taarr

Howto


Table of Contents


## Parallel execution

Shell scripts can execute rr natively.

#!/bin/sh

# Run namespace:script in parallel
rr somewhere namespace:script &
rr another namespace:script &
wait
# Next step after above
rr remotehost namespace:anotherscript

## Multiple hosts

For loops can be used to execute scripts on multiple hosts.

$ for x in remotehost1 remotehost2; do rru $x namespace:script; done