diff options
| author | jerome <jerome@xlinfo.fr> | 2023-05-05 17:56:37 +0200 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2023-05-05 17:56:37 +0200 |
| commit | 3aaacb7008a077b7ea0f078c03a256fafa388829 (patch) | |
| tree | b2760830c97dd012ab4589ae0b12ce0a5151eda5 | |
| parent | 9ecba62b85a9cbf0683c5e70e79e8f38c37d5e0b (diff) | |
| download | helloworld-3aaacb7008a077b7ea0f078c03a256fafa388829.tar.gz helloworld-3aaacb7008a077b7ea0f078c03a256fafa388829.zip | |
update .gitlab-ci.yml
| -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 |
