diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cbfc8fb0052b6899adafc0c753db600e30997465..78d6472a9bcf9fba3eb109ffb57cdb6e6f2b6cd1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,3 +13,10 @@ ansible_lint: - apt install -qq -y ansible-lint script: - ansible-lint playbook.yml + +shellcheck: + stage: test + before_script: + - apt update && apt install -y shellcheck + script: + - find ./roles/ -name "*.sh" -exec shellcheck "{}" \+