Skip to content
Snippets Groups Projects
Commit b6c68e2b authored by Michal Nasiadka's avatar Michal Nasiadka
Browse files

Skip ansible-lint fqcn for module actions and role-name

Add noqa for:
Object of type PosixPath is not JSON serializable

Change-Id: Id6ef88bb8cd16120bf31da679d1129d99f4b9fd8
parent a8b601dc
No related branches found
No related tags found
No related merge requests found
......@@ -20,3 +20,7 @@ skip_list:
- fqcn-builtins
# Allow Jinja templating inside task and play names
- name[template]
# FQCNs again, now for module actions
- fqcn[action]
# role name check matching ^*$
- role-name
......@@ -12,7 +12,7 @@
method: PUT
status_code: 200
return_content: yes
body: "{{ elasticsearch_shard_body | to_json }}"
body: "{{ elasticsearch_shard_body | to_json }}" # noqa jinja[invalid]
body_format: json
delegate_to: "{{ groups['elasticsearch'][0] }}"
run_once: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment