aboutsummaryrefslogtreecommitdiff
path: root/share/hydra
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-05-31 10:19:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-05-31 10:19:18 -0300
commit5cf9293635e1217c3a9e1e534eb20cd97dd54c53 (patch)
treee6fb8521db70cab3625e6a4ca0210c77a460f735 /share/hydra
parentc3911172d911060184a10413106f436c3f78ecbf (diff)
downloadhydra-5cf9293635e1217c3a9e1e534eb20cd97dd54c53.tar.gz
hydra-5cf9293635e1217c3a9e1e534eb20cd97dd54c53.tar.bz2
Mass: back to pssh as its currently more reliable
Diffstat (limited to 'share/hydra')
-rwxr-xr-xshare/hydra/mass4
1 files changed, 2 insertions, 2 deletions
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