diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-04 01:31:09 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-04 01:31:09 -0300 |
commit | 5b96f65edfc8ed1d37884fb3ee5f21edab443888 (patch) | |
tree | a48dd8f5a0c9776e88657e67824f5c4df0f1874c /share | |
parent | d0d0062f7f5c9e97ab4ec4227afaf06846924942 (diff) | |
download | hydra-5b96f65edfc8ed1d37884fb3ee5f21edab443888.tar.gz hydra-5b96f65edfc8ed1d37884fb3ee5f21edab443888.tar.bz2 |
Fix: hydra: deploy: initial correction for multiple nodes provided to ansible
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/deploy | 3 |
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 |