fixed test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tobias Trabelsi 2021-08-11 22:01:04 +02:00
parent bc7343a1f3
commit 1df141c48d
Signed by: lerentis
GPG Key ID: FF0C2839718CAF2E
2 changed files with 8 additions and 7 deletions

View File

@ -54,7 +54,7 @@ steps:
image: lerentis/ansible:debian-7
commands:
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "CI_RUN=true"
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "ci_run=yes" --skip-tags "daemon"
depends_on:
- "prepare_workspace"
@ -62,7 +62,7 @@ steps:
image: lerentis/ansible:ubuntu-16.04
commands:
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "CI_RUN=true"
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "ci_run=yes" --skip-tags "daemon"
depends_on:
- "prepare_workspace"
@ -70,7 +70,7 @@ steps:
image: lerentis/ansible:ubuntu-18.04
commands:
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "CI_RUN=true"
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "ci_run=yes" --skip-tags "daemon"
depends_on:
- "prepare_workspace"
@ -78,7 +78,7 @@ steps:
image: lerentis/ansible:ubuntu-20.04
commands:
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "CI_RUN=true"
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "ci_run=yes" --skip-tags "daemon"
depends_on:
- "prepare_workspace"
@ -116,7 +116,7 @@ steps:
commands:
- pacman -Sy python2 glibc --noconfirm
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "CI_RUN=true"
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "ci_run=yes" --skip-tags "daemon"
depends_on:
- "prepare_workspace"
@ -153,7 +153,7 @@ steps:
image: lerentis/ansible:centos-7
commands:
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "CI_RUN=true"
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "ci_run=yes" --skip-tags "daemon"
depends_on:
- "prepare_workspace"

View File

@ -24,4 +24,5 @@
state: stopped
enabled: no
with_items: stop_service_list
when: "CI_RUN != true"
tags: [ 'daemon' ]
when: ci_run is not defined