diff options
-rwxr-xr-x | replay | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -50,11 +50,11 @@ pushd $WORKDIR >/dev/null if [[ $NETWORK == "clearnet" ]] then - CMDLINE=ansible-playbook + CMDLINE=ansible-playbook-3 HOSTFILE=$SOURCES/hosts.net elif [[ $NETWORK == "tornetwork" ]] then - CMDLINE="torsocks ansible-playbook" + CMDLINE="torsocks ansible-playbook-3" HOSTFILE=$SOURCES/hosts.tor fi @@ -78,6 +78,11 @@ do LIMIT="" echo -e "$INFO retry file not found" fi + if [[ $COUNTLIMIT -eq 2 ]] + then + # command-line printed on stdout for debug + echo -e "$INFO command: $CMDLINE $FLAGS -i $HOSTFILE $LIMIT $SOURCES/site.yml" + fi if ( $CMDLINE $FLAGS -i $HOSTFILE $LIMIT $SOURCES/site.yml ) then REPLAY=false |