diff --git a/.ansible-lint b/.ansible-lint index 72a194795..5ebeb24f6 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -5,4 +5,6 @@ quiet: false skip_list: - ANSIBLE0010 # Package installs should not use latest. - 602 # Due to https://github.com/ansible/ansible-lint/issues/457 + - 208 # [E208] + - 106 # [E106] verbosity: 1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0234261b0..0d02725dd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: # types: [file, yaml] # entry: yamllint --strict -f parsable - repo: https://github.com/ansible/ansible-lint.git - rev: v4.1.1a6 + rev: v4.3.5 hooks: - id: ansible-lint always_run: true @@ -46,7 +46,9 @@ repos: # results when called with individual files. # https://github.com/ansible/ansible-lint/issues/611 verbose: true - entry: env ANSIBLE_LIBRARY=./library ansible-lint --force-color -p -v + entry: env ANSIBLE_LIBRARY=./library ansible-lint --force-color -p -v . + additional_dependencies: + - 'ansible<2.10' - repo: https://github.com/openstack-dev/bashate.git rev: 0.6.0 hooks: diff --git a/zuul.d/base.yaml b/zuul.d/base.yaml index b7d145e32..de1b6b554 100644 --- a/zuul.d/base.yaml +++ b/zuul.d/base.yaml @@ -78,6 +78,9 @@ - tox.ini - ^setup.*$ - ^vars/sova-patterns.yml$ + - ^.ansible-lint$ + - ^.pre-commit-config.yaml$ + - ^.yamllint$ # This job definition holds the required projects # for tripleo-ci-base-centos-8. The required projects are separated @@ -135,6 +138,9 @@ - tox.ini - ^setup.*$ - ^vars/sova-patterns.yml$ + ^.ansible-lint$ + - ^.pre-commit-config.yaml$ + - ^.yamllint$ - job: name: tripleo-ci-base-multinode