Bump ansible-lint

Since role-name (106) test has been added metadata tag in
ansible-lint 5.0.9, we shouldn't exclude it explicitly.

Change-Id: I84f8a97ecce0eebf1f0fbb5c8a4fc433eedc34fd
This commit is contained in:
Dmitriy Rabotyagov 2021-05-24 12:40:45 +03:00
parent 2030d6d1ac
commit 7da3518bf4
2 changed files with 2 additions and 2 deletions

View File

@ -45,5 +45,5 @@ source "${COMMON_TESTS_PATH}/test-ansible-env-prep.sh"
# Execute ansible-lint. We do not want to test dependent roles located
# in $HOME/.ansible/roles since we only care about the role we are currently
# testing.
ANSIBLE_LINT_WARNINGS="-w 208 -w 306 -w 502 -w 503 -w 106 -w metadata"
ANSIBLE_LINT_WARNINGS="-w 208 -w 306 -w 502 -w 503 -w metadata"
ansible-lint ${ANSIBLE_LINT_PARAMS} ${ANSIBLE_LINT_WARNINGS} --exclude=$HOME/.ansible/roles ${TEST_PLAYBOOK}

View File

@ -19,7 +19,7 @@
# Used for lint tests
bashate>=0.5.1 # Apache-2.0
flake8==3.8.3 # MIT
ansible-lint==5.0.9 # MIT
ansible-lint==5.0.10 # MIT
# Used to help make SNI connections work from python
# if python itself does not support it properly (<2.7.9).