From 285ce55da15928f5e32e1968660260b4aa8571f6 Mon Sep 17 00:00:00 2001 From: Jack Ivanov Date: Tue, 27 Mar 2018 19:04:42 +0300 Subject: [PATCH] More debug for travis-ci --- .gitignore | 2 +- tests/local-deploy.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b68ae839..b632022a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ configs/* inventory_users *.kate-swp env -.DS_Store \ No newline at end of file +.DS_Store diff --git a/tests/local-deploy.sh b/tests/local-deploy.sh index ddd58e92..7779aef8 100755 --- a/tests/local-deploy.sh +++ b/tests/local-deploy.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -set -e +set -ex DEPLOY_ARGS="server_ip=$LXC_IP server_user=root IP_subject_alt_name=$LXC_IP local_dns=Y" @@ -8,5 +8,5 @@ if [ "${LXC_NAME}" == "docker" ] then docker run -it -v $(pwd)/config.cfg:/algo/config.cfg -v ~/.ssh:/root/.ssh -e "DEPLOY_ARGS=${DEPLOY_ARGS}" travis/algo /bin/sh -c "chown -R 0:0 /root/.ssh && source env/bin/activate && ansible-playbook deploy.yml -t local,vpn,dns,ssh_tunneling,security,tests -e \"${DEPLOY_ARGS}\"" else - ansible-playbook deploy.yml -t local,vpn,dns,ssh_tunneling,tests -e "${DEPLOY_ARGS}" + ansible-playbook deploy.yml -t local,vpn,dns,ssh_tunneling,tests -e "${DEPLOY_ARGS}" -vvvv fi