summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xreplay9
1 files changed, 7 insertions, 2 deletions
diff --git a/replay b/replay
index 92070cf..ba41175 100755
--- a/replay
+++ b/replay
@@ -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