From 9767add9f304d5966cc1dc3ffefca5e9c1512d3c Mon Sep 17 00:00:00 2001 From: jerome Date: Sat, 6 May 2023 08:18:17 +0200 Subject: update .gitlab-ci.yml --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1177330..a885d83 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,6 @@ workflow: stages: - test -- deploy lint-test-job: stage: test @@ -23,13 +22,14 @@ lint-test-job: junit: ansible-lint.xml -deploy-job: - stage: deploy +syntax-check-job: + stage: test tags: - loufux-docker image: ansible script: - ansible-galaxy install git+https://gitlab.com/loufux/ansible/helloworld.git - ansible-galaxy list + - ansible-playbook ~/.ansible/roles/helloworld/tests/test.yml -i ~/.ansible/roles/helloworld/tests/inventory --syntax-check - ansible-playbook ~/.ansible/roles/helloworld/tests/test.yml -i ~/.ansible/roles/helloworld/tests/inventory -- cgit v1.2.3