From 5ba169a61256c3799a424046e4c0b64eee7fcf97 Mon Sep 17 00:00:00 2001 From: MarkusTeufelberger Date: Mon, 20 May 2019 20:23:14 +0200 Subject: [PATCH] Ignore 2 ansible-lint rules (E204, E701) on purpose. (#4744) --- .ansible-lint | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index ede661355..355e79e0c 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -3,11 +3,23 @@ parseable: true skip_list: # see https://docs.ansible.com/ansible-lint/rules/default_rules.html for a list of all default rules # The following rules throw errors. - # These either still need to be corrected in the repository and the rules re-enabled or they are skipped on purpose. - - '204' + # These either still need to be corrected in the repository and the rules re-enabled or documented why they are skipped on purpose. - '301' - '305' - '306' - '404' - '503' + + # These rules are intentionally skipped: + # + # [E204]: "Lines should be no longer than 160 chars" + # This could be re-enabled with a major rewrite in the future. + # For now, there's not enough value gain from strictly limiting line length. + # (Disabled in May 2019) + - '204' + + # [E701]: "meta/main.yml should contain relevant info" + # Roles in Kubespray are not intended to be used/imported by Ansible Galaxy. + # While it can be useful to have these metadata available, they are also available in the existing documentation. + # (Disabled in May 2019) - '701'