From 3aaacb7008a077b7ea0f078c03a256fafa388829 Mon Sep 17 00:00:00 2001 From: jerome Date: Fri, 5 May 2023 17:56:37 +0200 Subject: update .gitlab-ci.yml --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 13e1841..a0aceb1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ build-job: - loufux-docker image: ansible script: - - ansible-galaxy install git+https://gitlab.com/loufux/ansible/helloworld.git --roles-path ~ + - ansible-galaxy install git+https://gitlab.com/loufux/ansible/helloworld.git - ansible-galaxy list syntax-check-job: @@ -27,7 +27,7 @@ syntax-check-job: - loufux-docker image: ansible script: - - ansible-playbook helloworld/tests/test.yml -i helloworld/tests/inventory --syntax-check ||true + - ansible-playbook .ansible/roles/helloworld/tests/test.yml -i .ansible/roles/helloworld/tests/inventory --syntax-check ||true lint-test-job: stage: test @@ -35,7 +35,7 @@ lint-test-job: - loufux-docker image: ansible script: - - ansible-lint -p helloworld/tests/test.yml | ansible-lint-junit -o ansible-lint.xml || true + - ansible-lint -p .ansible/roles/helloworld/tests/test.yml | ansible-lint-junit -o ansible-lint.xml || true artifacts: reports: junit: ansible-lint.xml @@ -47,5 +47,5 @@ deploy-job: - loufux-docker image: ansible script: - - ansible-playbook helloworld/tests/test.yml -i helloworld/tests/inventory + - ansible-playbook .ansible/roles/helloworld/tests/test.yml -i .ansible/roles/helloworld/tests/inventory -- cgit v1.2.3