Add ansible debugging

This commit is contained in:
Sergei Antipov 2018-02-15 15:25:17 +07:00
parent c0ba5dac60
commit 47d5b8e5b5
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# -*- mode: sh; -*-
# File: test.sh
# Time-stamp: <2018-02-15 15:24:30>
# Time-stamp: <2018-02-15 15:25:12>
# Copyright (C) 2018 Sergei Antipov
# Description:
@ -30,7 +30,7 @@ ansible-playbook -i tests/hosts tests/site.yml -e target=mongo1 -e image_name=${
docker kill mongo{1,2,3} && docker rm mongo{1,2,3}
# Test 3
ansible-playbook -i tests/hosts tests/site.yml -e target=mongo -e image_name=${DISTRIBUTION}:${DIST_VERSION} -e mongodb_version=${MONGODB_VERSION} -e mongodb_replication_replset='testrs'
ansible-playbook -i tests/hosts tests/site.yml -e target=mongo -e image_name=${DISTRIBUTION}:${DIST_VERSION} -e mongodb_version=${MONGODB_VERSION} -e mongodb_replication_replset='testrs' -vvv
# Idempotence test
ansible-playbook -i tests/hosts tests/site.yml -e target=mongo -e image_name=${DISTRIBUTION}:${DIST_VERSION} -e mongodb_version=${MONGODB_VERSION} -e mongodb_replication_replset='testrs' \
| grep -q 'changed=0.*failed=0' \