diff options
| author | jerome <jerome@xlinfo.fr> | 2023-05-06 08:18:17 +0200 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2023-05-06 08:18:17 +0200 |
| commit | 9767add9f304d5966cc1dc3ffefca5e9c1512d3c (patch) | |
| tree | ecc4c0aedb5187ddd0f65eb0ee7d3087ea587568 | |
| parent | c843fe8d6bf557ae67fe12f43e3248e6147cc880 (diff) | |
| download | helloworld-9767add9f304d5966cc1dc3ffefca5e9c1512d3c.tar.gz helloworld-9767add9f304d5966cc1dc3ffefca5e9c1512d3c.zip | |
update .gitlab-ci.yml
| -rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1177330..a885d83 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,6 @@ workflow: stages: - test -- deploy lint-test-job: stage: test @@ -23,13 +22,14 @@ lint-test-job: junit: ansible-lint.xml -deploy-job: - stage: deploy +syntax-check-job: + stage: test tags: - 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 -i ~/.ansible/roles/helloworld/tests/inventory --syntax-check - ansible-playbook ~/.ansible/roles/helloworld/tests/test.yml -i ~/.ansible/roles/helloworld/tests/inventory |
