Skip to content
Snippets Groups Projects
Commit fe6edbab authored by Thomas Woerner's avatar Thomas Woerner
Browse files

.ansible-lint: Deactivate experimental and name[template] tests

The experimental tests is running several additional tests like for
example to check module arg values. It fails everytime a variable is
used to pass the value in.

Examples:
- playbooks/topology/add-topologysegments.yml:15: args[module]: value of
  suffix must be one of: domain, ca, domain+ca, got: {{ item.suffix }}
- tests/host/test_host.yml:21: args[module]: value of ipaapi_context must
  be one of: server, client, got: {{ ipa_context | default(omit) }}

The name template test is failing for every template use inside of a name.
This is forcing to have only generic names and nothing specific in the
log anymore.

These two tests have been deactivated to have less overflow in the
ansible-lint output.
parent 43490543
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,8 @@ skip_list: ...@@ -33,6 +33,8 @@ skip_list:
- '305' # Use shell only when shell functionality is required - '305' # Use shell only when shell functionality is required
- '306' # risky-shell-pipe - '306' # risky-shell-pipe
- yaml # yamllint should be executed separately. - yaml # yamllint should be executed separately.
- experimental # Do not run any experimental tests
- name[template] # Allow Jinja templating inside task names
use_default_rules: true use_default_rules: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment