aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/deploy3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydra/deploy b/share/hydra/deploy
index b675577..e440ae5 100755
--- a/share/hydra/deploy
+++ b/share/hydra/deploy
@@ -300,7 +300,8 @@ if [ -e "$HYDRA_FOLDER/ansible/ansible.cfg" ]; then
if [ "$NODES" == "all" ]; then
hydra $HYDRA ansible-playbook site.yml $ANSIBLE_ARGS
else
- hydra $HYDRA ansible-playbook site.yml $ANSIBLE_ARGS --limit $NODES
+ NODES="`echo $NODES | tr ' ' ','`"
+ hydra $HYDRA ansible-playbook site.yml $ANSIBLE_ARGS --limit "$NODES"
fi
fi
fi