diff --git a/ansible/.ansible-lint b/ansible/.ansible-lint new file mode 100644 index 000000000..90109fd3c --- /dev/null +++ b/ansible/.ansible-lint @@ -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 diff --git a/tox.ini b/tox.ini index c653b1c63..2815f3772 100644 --- a/tox.ini +++ b/tox.ini @@ -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