File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ services:
12
12
addons :
13
13
postgresql : " 9.6"
14
14
env :
15
- - ANSIBLE_VERSION='~=2.9 .0'
15
+ - ANSIBLE_VERSION='~=2.10 .0'
16
16
matrix :
17
17
fast_finish : true
18
18
# FIXME: Ansible 2.10.x going through major restructuring.
@@ -42,8 +42,8 @@ script:
42
42
- ansible-playbook -i inventory deploy.yml
43
43
- ' ANSIBLE_STDOUT_CALLBACK=debug ANSIBLE_DISPLAY_SKIPPED_HOSTS=no ANSIBLE_DISPLAY_OK_HOSTS=no
44
44
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 )'
47
47
- ANSIBLE_STDOUT_CALLBACK=debug ansible-playbook -i inventory -v test.yml
48
48
notifications :
49
49
webhooks :
You can’t perform that action at this time.
0 commit comments