From fe3cc8d1a1cb0bca1dd7172bb198117b9069f996 Mon Sep 17 00:00:00 2001 From: jerome Date: Sat, 6 May 2023 09:18:42 +0200 Subject: update .gitlab-ci.yml --- .gitlab-ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 40dbc12..f91b556 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,12 +17,11 @@ build-job: - 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 + - ansible-galaxy install git+https://gitlab.com/loufux/ansible/helloworld.git --roles-path "." + - ansible-playbook helloworld/tests/test.yml artifacts: paths: - - ~/.ansible/roles/helloworld + - helloworld lint-test-job: stage: test @@ -30,7 +29,7 @@ lint-test-job: - loufux-docker image: ansible script: - - ansible-lint -p ~/.ansible/roles/helloworld/tests/test.yml | ansible-lint-junit -o ansible-lint.xml || true + - ansible-lint -p helloworld/tests/test.yml | ansible-lint-junit -o ansible-lint.xml || true artifacts: reports: junit: ansible-lint.xml -- cgit v1.2.3