File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ services:
1212addons :
1313 postgresql : " 9.6"
1414env :
15- - ANSIBLE_VERSION='~=2.9 .0'
15+ - ANSIBLE_VERSION='~=2.10 .0'
1616matrix :
1717 fast_finish : true
1818# FIXME: Ansible 2.10.x going through major restructuring.
@@ -42,8 +42,8 @@ script:
4242- ansible-playbook -i inventory deploy.yml
4343- ' ANSIBLE_STDOUT_CALLBACK=debug ANSIBLE_DISPLAY_SKIPPED_HOSTS=no ANSIBLE_DISPLAY_OK_HOSTS=no
4444 unbuffer ansible-playbook -vvi inventory deploy.yml &>play.log; printf "Idempotence: ";
45- grep -A1 " PLAY RECAP" play.log | grep -qP "changed=0 .*failed=0 .*"
46- && (echo "PASS "; exit 0 ) || (echo "FAIL "; cat play.log; exit 1 )'
45+ sed -ne "/ PLAY RECAP/,/^$/{/PLAY RECAP/d;/^$/d;p}" /tmp/h | grep -vqP "changed=0 .*failed=0 .*"
46+ && (echo "FAIL "; cat play.log; exit 1 ) || (echo "PASS "; exit 0 )'
4747- ANSIBLE_STDOUT_CALLBACK=debug ansible-playbook -i inventory -v test.yml
4848notifications :
4949 webhooks :
You can’t perform that action at this time.
0 commit comments