diff --git a/.lint/ansible-lint-prod.conf b/.lint/ansible-lint-prod.conf new file mode 100644 index 0000000000000000000000000000000000000000..43b5bbf531cec8c8e7a42bb93cf0b351249ee775 --- /dev/null +++ b/.lint/ansible-lint-prod.conf @@ -0,0 +1,21 @@ +--- + +profile: production # min, basic, moderate, safety, shared, production + +exclude_paths: + - ../playbooks/bench-monitoring.yml + - .cache/ + - ${HOME}/.cache/ + +skip_list: + - meta-no-info # Skip warnings for missing galaxy_info in roles + - role-name # Skip role name pattern verification ("-" should not be used) + - package-latest # Skip warning when package installation state is set to latest + - experimental # Skip all rules tagged as experimental, as schema validation + - name[play] # Skip the rule dictating that all play should have a name + - name[casing] # Skip the rule dictating that all task name should begin with uppercase + - template-instead-of-copy # Skip forcing the use of templates + - name[template] # Skip forcing to use jinja var at the end of a task name + - fqcn[action] # Skip full FQCN for ansible actions + +... diff --git a/.lint/ansible-lint.conf b/.lint/ansible-lint.conf index 60e5b75651779db41ff44e1b22224ce7f4e7e9b9..06038ccca4d011e46fcd6f2bc49a944ac06bc97c 100644 --- a/.lint/ansible-lint.conf +++ b/.lint/ansible-lint.conf @@ -1,19 +1,16 @@ --- +profile: basic # min, basic, moderate, safety, shared, production + exclude_paths: - ../playbooks/bench-monitoring.yml - .cache/ - ${HOME}/.cache/ skip_list: - - meta-no-info # Skip warnings for missing galaxy_info in roles - role-name # Skip role name pattern verification ("-" should not be used) - - package-latest # Skip warning when package installation state is set to latest - - experimental # Skip all rules tagged as experimental, as schema validation - name[play] # Skip the rule dictating that all play should have a name - name[casing] # Skip the rule dictating that all task name should begin with uppercase - - template-instead-of-copy # Skip forcing the use of templates - name[template] # Skip forcing to use jinja var at the end of a task name - - fqcn[action] # Skip full FQCN for ansible actions ...