Skip to content
Snippets Groups Projects
Commit efc0697c authored by ale's avatar ale
Browse files

CI: fix exit condition

parent 6cf488be
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ check: ...@@ -30,7 +30,7 @@ check:
- echo -n "${ANSIBLE_VAULT_PASSWORD}" > .ansible_vault_pw - echo -n "${ANSIBLE_VAULT_PASSWORD}" > .ansible_vault_pw
- export ANSIBLE_VAULT_PASSWORD_FILE=.ansible_vault_pw - export ANSIBLE_VAULT_PASSWORD_FILE=.ansible_vault_pw
- with-ssh-key ansible-playbook -i hosts.ini --diff --check site.yml - with-ssh-key ansible-playbook -i hosts.ini --diff --check site.yml
- grep changed= ansible.log | grep -v changed=0 && false - grep changed= ansible.log | grep -q -v changed=0 && false
artifacts: artifacts:
paths: paths:
- ansible.log - ansible.log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment