Skip to content

Commit

Permalink
collection: Rearrange comments in .ansible-lint
Browse files Browse the repository at this point in the history
Fixes sap-linuxlab#593 for the collection's .ansible-lint file

Signed-off-by: Bernd Finger <[email protected]>
  • Loading branch information
berndfinger committed Jan 12, 2024
1 parent 884c772 commit 2b34bf9
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,16 @@ exclude_paths:
#- roles/sap_swpm
- roles/sap_vm_preconfigure
- tests/

enable_list:
- yaml
skip_list:
- meta-runtime[unsupported-version] # We don't want to enforce new Ansible versions for Galaxy
# We don't want to enforce new Ansible versions for Galaxy:
- meta-runtime[unsupported-version]
# We do not want to use checks which are marked as experimental:
- experimental
- ignore-errors # We use ignore_errors for all the assert tasks, which should be acceptable
- schema # We want to allow single digit version numbers in a role's meta/main.yml file. This is allowed as per https://galaxy.ansible.com/docs/contributing/creating_role.html and https://galaxy.ansible.com/api/v1/platforms/?page=6.
- name[template] # Allow templating inside name. During dev and qa, it should be possible to identify cases where it doesn't work
# We use ignore_errors for all the assert tasks, which should be acceptable:
- ignore-errors
# We want to allow single digit version numbers in a role's meta/main.yml file:
- schema
# Allow templating inside name because it creates more detailed output:
- name[template]

0 comments on commit 2b34bf9

Please sign in to comment.