d64b83074e
As this rule has been merged upstream, we don't need it anymore locally. This patch also bumps the ansible-lint release from v4.2.0 to v5.0.3 It also mocks the following roles to pass the --syntax-check: - fetch-devstack-log-dir - fetch-output - fetch-python-sdist-output - fetch-subunit-output - ensure-if-python - ensure-pip - ensure-tox - ensure-virtualenv Finally, it deletes two empty molecule verify.yml playbooks which are causing the linter to fail. Change-Id: I132e2144835724ec82eb0a9aee1996d1e1c3e5fb Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
39 lines
981 B
Plaintext
39 lines
981 B
Plaintext
exclude_paths:
|
|
- releasenotes/
|
|
parseable: true
|
|
quiet: false
|
|
rulesdir:
|
|
- .ansible-lint_rules/
|
|
|
|
# Mock modules or roles in order to pass ansible-playbook --syntax-check
|
|
mock_modules: []
|
|
mock_roles:
|
|
- fetch-devstack-log-dir
|
|
- fetch-output
|
|
- fetch-python-sdist-output
|
|
- fetch-subunit-output
|
|
- ensure-if-python
|
|
- ensure-pip
|
|
- ensure-tox
|
|
- ensure-virtualenv
|
|
|
|
skip_list:
|
|
# Lines should be no longer than 120 chars.
|
|
- '204'
|
|
# Using command rather module we have where
|
|
# we need to use curl or rsync.
|
|
- '303'
|
|
# shell tasks uses pipeline without pipefail,
|
|
# this requires refactoring, skip for now.
|
|
- '306'
|
|
# Tasks that run when changed should likely be handlers
|
|
# this requires refactoring, skip for now.
|
|
- '503'
|
|
# meta/main.yml should contain relevant info
|
|
- '701'
|
|
# Tags must contain lowercase letters and digits only
|
|
- '702'
|
|
# meta/main.yml default values should be changed
|
|
- '703'
|
|
verbosity: 1
|