bifrost/.ansible-lint
Riccardo Pittau b99ff7f1c4 CI fixes and workarounds
- Update shim-signed name for ubuntu jammy
Latest update for the shim-signed package changed the name of
the shimx64.efi signed file from shimx64.efi.signed to
shimx64.efi.signed.latest
- ansible lint temporary exclude rules
- pin python-openstackclient to version <6.1.0 as higher versions
are incompatible with openstacksdk < 0.103.0 and we pin it to
version 0.99.0 because of bifrost incompatibility with
ansible-collections-openstack version 2 or higher

Change-Id: If4cfd9cc67b372d4fbbdc0a6ef928496cede1892
2023-02-23 14:50:55 +01:00

34 lines
1.7 KiB
Plaintext

skip_list:
# FIXME: gradually fix and remove these exclusions:
- fqcn[action] # Use FQCN for module actions
- fqcn[action-core] # Use FQCN for builtin actions
- ignore-errors # Use failed_when and specify error conditions instead of using ignore_errors
- jinja[invalid] # Unrecognized type
- jinja[spacing] # Jinja2 spacing could be improved
- key-order[task] # You can improve the task key order
- meta-no-info # meta/main.yml should contain relevant info
- meta-no-tags # Tags must contain lowercase letters and digits only
- name[casing] #All names should start with an uppercase letter
- name[missing] # All tasks should be named
- name[play] # All plays should be named
- name[template] # Jinja templates should only be at the end of 'name'
- no-changed-when # Commands should not change things if nothing needs doing
- no-free-form # Avoid using free-form when calling module actions
- risky-file-permissions # File permissions unset or incorrect
- schema[meta] # Additional properties are not allowed
- schema[vars] # does not match any of the regexes
- var-naming # violates variable naming standards
- yaml[colons] # Too many spaces after colon
- yaml[comments] # Missing starting space in comment
- yaml[empty-lines] # Too many blank lines
- yaml[indentation] # Wrong indentation
- yaml[line-length] # Line too long
- yaml[octal-values] # Forbidden implicit octal value
- yaml[truthy] # Truthy value should be one of [false, true]
# NOTE(dtantsur): the following rules should likely stay excluded:
- experimental
- role-name # Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern'
- package-latest # Package installs should not use latest
- no-handler # Tasks that run when changed should likely be handlers