Fix ansible-lint failure
Update to newest version Change-Id: I884a12f5c408d238e37a959f56609c823522d40d
This commit is contained in:
parent
e253d88512
commit
c63d021a99
@ -1,19 +1,59 @@
|
||||
exclude_paths:
|
||||
- roles/validate-ui/.travis.yml
|
||||
- roles/virthost-full-cleanup/tasks/main.yml
|
||||
# we don't want to see failures from sideloaded repos
|
||||
- ../tripleo-upgrade/
|
||||
# These playbooks are from tq repo and checked there
|
||||
- playbooks/baremetal-full-deploy.yml
|
||||
- playbooks/baremetal-prep-virthost.yml
|
||||
- playbooks/deploy-delete.yml
|
||||
- playbooks/multinode-minion.yml
|
||||
- playbooks/multinode-multiple-overcloud.yml
|
||||
- playbooks/multinode.yml
|
||||
- playbooks/quickstart-extras-standalone.yml
|
||||
- playbooks/quickstart-extras.yml
|
||||
- playbooks/scale_nodes.yml
|
||||
# No any idea why those don't pass linter
|
||||
- playbooks/build-images-v2.yml
|
||||
- playbooks/build-test-packages.yml
|
||||
parseable: true
|
||||
quiet: false
|
||||
skip_list:
|
||||
# TODO(ssbarnea): Gradually remove these skips ASAP
|
||||
- 204 # Lines should be no longer than 160 chars
|
||||
- 302 # rm used in place of argument state=absent to file module
|
||||
- 303 # sed used in place of template, replace or lineinfile module
|
||||
- 602 # Don't compare to empty string
|
||||
- 504 # Do not use 'local_action', use 'delegate_to: localhost'
|
||||
- 701 # No 'galaxy_info' found
|
||||
- 208 # [E208] File permissions unset or incorrect
|
||||
- 106 # [E106] Role name {} does not match ^[a-z][a-z0-9_]+$ pattern
|
||||
- 207 # [E207] Nested jinja pattern
|
||||
- 306 # [E306] Shells that use pipes should set the pipefail option
|
||||
- syntax-check
|
||||
- internal-error
|
||||
- unnamed-task
|
||||
- risky-file-permissions
|
||||
- ignore-errors
|
||||
- command-instead-of-module
|
||||
- meta-no-info
|
||||
- risky-shell-pipe
|
||||
- deprecated-command-syntax
|
||||
- empty-string-compare
|
||||
- role-name
|
||||
- experimental
|
||||
- no-changed-when
|
||||
- literal-compare
|
||||
- command-instead-of-shell
|
||||
- package-latest
|
||||
- deprecated-local-action
|
||||
- no-jinja-nesting
|
||||
|
||||
verbosity: 1
|
||||
mock_modules:
|
||||
- authorized_key
|
||||
- virt
|
||||
- ini_file
|
||||
- openvswitch_bridge
|
||||
- os_stack
|
||||
- redhat_subscription
|
||||
- synchronize
|
||||
mock_roles:
|
||||
- tripleo-inventory
|
||||
- repo-setup
|
||||
- common
|
||||
- tripleo-upgrade
|
||||
- fetch-images
|
||||
- tripleo
|
||||
- parts/kvm
|
||||
- collect-logs
|
||||
|
@ -26,7 +26,7 @@ repos:
|
||||
types: [file, yaml]
|
||||
entry: yamllint --strict -f parsable
|
||||
- repo: https://github.com/ansible/ansible-lint
|
||||
rev: v4.3.7
|
||||
rev: v5.3.2
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
always_run: true
|
||||
|
Loading…
Reference in New Issue
Block a user