Add default set of ansible-lint warnings

This will mean these do not all have to be fixed simultaneously in all
openstack-ansible role repos

Change-Id: I5336fd0c0c8c7609093c802efd957a95e006f0ad
This commit is contained in:
Jonathan Rosser 2020-09-30 20:23:32 +01:00
parent 0e721c7049
commit df1480576b
1 changed files with 2 additions and 1 deletions

View File

@ -51,5 +51,6 @@ fi
# 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 ${ANSIBLE_LINT_PARAMS} --exclude=$HOME/.ansible/roles \
ANSIBLE_LINT_WARNINGS="204,208,306,metadata"
ansible-lint ${ANSIBLE_LINT_PARAMS} -w ${ANSIBLE_LINT_WARNINGS} --exclude=$HOME/.ansible/roles \
-R -r ${COMMON_TESTS_PATH}/ansible-lint/ ${TEST_PLAYBOOK}