diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 677b342..c09f427 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,7 +48,10 @@ stages: stage: check_and_lint script: - chmod 755 ${ANSIBLE_PLAY_PATH} - - ansible-lint -v ${ANSIBLE_PLAY_PATH}/*.yml + - ansible-galaxy install -r roles/requirements.yml + - ansible-lint -v ${ANSIBLE_PLAY_PATH}/${ANSIBLE_PLAY} + - yamllint -v ${ANSIBLE_PLAY_PATH}/${ANSIBLE_PLAY} + .test_deploy_template: &test_deploy