diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b4e785871981a4b0c74c4a777505a4a15c7e95bf..1751e61a0a4e56c24ab3100743227b5234474b27 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,11 @@ test-job: - git clone https://gitlab+deploy-token-25:${VAULT_ACCESS_TOKEN}@git.slub-dresden.de/slub-referat-2-3/ansible_vaults.git ../ansible_vaults/; \ # run Molecule tests - molecule syntax --scenario-name default - - molecule lint --scenario-name default + # We cannot use `molecule lint` anymore because: + # - https://github.com/ansible-community/molecule/pull/3802 "Remove lint command" + # - https://github.com/ansible-community/molecule/discussions/3825#discussioncomment-4908366 + - yamllint --strict --format colored ./ + - ansible-lint --format full --profile production --strict --force-color ./ - molecule create --scenario-name default - molecule converge --scenario-name default - molecule idempotence --scenario-name default