From 5cf9293635e1217c3a9e1e534eb20cd97dd54c53 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 31 May 2018 10:19:18 -0300 Subject: Mass: back to pssh as its currently more reliable --- share/hydra/mass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/hydra') diff --git a/share/hydra/mass b/share/hydra/mass index b66956b..f477bee 100755 --- a/share/hydra/mass +++ b/share/hydra/mass @@ -45,7 +45,7 @@ function mass_mussh { # Issue commands with ansible function mass_ansible { hydra_install_package ansible - ansible -i $TMPWORK all -f 1 --sudo -a "$COMMAND" + ansible -i $TMPWORK all -f 1 --become -a "$COMMAND" } # Set nodes @@ -97,5 +97,5 @@ fi # Execute commands in hosts echo "Issuing $COMMAND on multiple nodes..." mass_exec_localhost -mass_ansible +mass_pssh hydra_unset_tmpfile $TMPWORK -- cgit v1.2.3