diff --git a/deploy/command.sh b/deploy/command.sh new file mode 100755 index 0000000..886e941 --- /dev/null +++ b/deploy/command.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +CMD=$@ +HOSTFILE='hosts' +GROUP='compute' + +ansible $GROUP --inventory-file $HOSTFILE --module-name=command --args="$CMD"