Skip to content
Snippets Groups Projects
Commit 7d9902e8 authored by Simone Spinelli's avatar Simone Spinelli
Browse files

Change ansible-lint to exclude python files

parent 138e7e17
No related branches found
No related tags found
1 merge request!64Add a role to perform checks after base config
...@@ -8,7 +8,7 @@ ansible-lint: ...@@ -8,7 +8,7 @@ ansible-lint:
- python -m pip install jmespath - python -m pip install jmespath
- ansible-galaxy role install Juniper.junos - ansible-galaxy role install Juniper.junos
script: script:
- ansible-lint -f codeclimate | python -m json.tool | tee "${CI_PROJECT_DIR}/codeclimate-results.json" - ansible-lint --exclude .py -f codeclimate | python -m json.tool | tee "${CI_PROJECT_DIR}/codeclimate-results.json"
artifacts: artifacts:
name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG"
reports: reports:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment