--- image: python:3.6 stages: - lint yamllint: stage: lint script: - pip install yamllint==1.15.0 - yamllint -c .yamllint.yml . ansible-lint: stage: lint script: - pip install ansible-lint - ansible-lint *.yml ...