From 2b34bf975c6cd62953a6a06ca1a99fb03da50e61 Mon Sep 17 00:00:00 2001 From: Bernd Finger Date: Fri, 12 Jan 2024 17:08:11 +0100 Subject: [PATCH] collection: Rearrange comments in .ansible-lint Fixes #593 for the collection's .ansible-lint file Signed-off-by: Bernd Finger --- .ansible-lint | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index 88bbb5659..fc315df23 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -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]