diff options
| -rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 4 insertions, 5 deletions
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 |
