From 342388e466e1653c36cebb6bc05d6de1a7edc285 Mon Sep 17 00:00:00 2001 From: mullholland Date: Fri, 9 Jun 2023 16:26:47 +0200 Subject: [PATCH] feat: added ansible-lint profile --- templates/ansible-lint.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/ansible-lint.j2 b/templates/ansible-lint.j2 index b1a6115..adcecf0 100644 --- a/templates/ansible-lint.j2 +++ b/templates/ansible-lint.j2 @@ -1,5 +1,10 @@ --- {{ ansible_managed | comment }} + +# Profiles gradually increase the strictness of rules as your Ansible content lifecycle. +# We set it to "production" in order to ensure that content meets requirements for inclusion in Ansible Automation Platform (AAP) as validated or certified content. +profile: production + {% if preferencesymlstat.stat.exists or verify.stat.exists %} exclude_paths: {% if preferencesymlstat.stat.exists %}