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