diff --git a/.ansible-lint b/.ansible-lint index 5f1bb03f5d7e6736afe240895bfc09473536d894..87353511c11000f2dfe7c1012b23c9a4d0f809d1 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,9 +1,2 @@ -parseable: true -quiet: true +--- use_default_rules: true -skip_list: - - '204' # line length is checked by yamllint - - '401' # git checkout must contain explicit version - - '701' # 7xx is about ansible galaxy guidelines - - '702' - - '703' diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 61984755278839d74c626a837b18599734eb6074..e91fe3f68a48eda98aeea908c60c019b2590abf2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,5 +20,12 @@ test: stage: test script: - yamllint . - - ansible-lint ./*/ + - >- + ansible-lint + --format codeclimate + ./*/ + > codeclimate.json - "! rg --fixed-strings 'passwordstore' ./*/templates" + artifacts: + reports: + codequality: codeclimate.json