Moving ansible-lint rules to .ansible-lint.

Temporarily skipping rules 201,204,405,504,601 and 602.
This is to clear the gate and allow for merges.

Change-Id: I140dad80b61014a5b9ef43dbaa7d6ddd99b813d7
This commit is contained in:
agopi 2019-01-17 17:45:26 -05:00 committed by Aakarsh
parent 90afd05d3a
commit fcd0d7ed05
2 changed files with 16 additions and 2 deletions

15
ansible/.ansible-lint Normal file
View File

@ -0,0 +1,15 @@
exclude_paths:
- ./gather/
parseable: true
quiet: true
skip_list:
- skip_ansible_lint
- '204'
- '206'
- '405'
- '504'
- '601'
- '602'
- ANSIBLE0012,ANSIBLE0006,ANSIBLE0007,ANSIBLE0016,ANSIBLE0019
use_default_rules: true
verbosity: 1

View File

@ -19,8 +19,7 @@ extras = insights
commands =
{[testenv:pep8]commands}
bash -c "cd ansible; find . -type f -regex '.*.y[a]?ml' -print0 | xargs -t -n1 -0 \
ansible-lint \
-x ANSIBLE0012,ANSIBLE0006,ANSIBLE0007,ANSIBLE0016,ANSIBLE0019" \
ansible-lint" \
--exclude=rally
pykwalify -d browbeat-config.yaml -s browbeat/schema/browbeat.yml
pykwalify -d browbeat-complete.yaml -s browbeat/schema/browbeat.yml