diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/mass | 4 |
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 |