diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/deploy | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/share/hydra/deploy b/share/hydra/deploy index ce8b148..070f8cd 100755 --- a/share/hydra/deploy +++ b/share/hydra/deploy @@ -262,6 +262,14 @@ if [ ! -z "$NODES" ]; then NODES="$*" fi fi +else + NODES="all" fi -hydra $HYDRA ansible-playbook site.yml --limit $NODES +if [ ! -z "$NODES" ]; then + if [ "$NODES" == "all" ]; then + hydra $HYDRA ansible-playbook site.yml + else + hydra $HYDRA ansible-playbook site.yml --limit $NODES + fi +fi |