Skip ansible-lint fqcn for module actions and role-name
Add noqa for: Object of type PosixPath is not JSON serializable Change-Id: Id6ef88bb8cd16120bf31da679d1129d99f4b9fd8
This commit is contained in:
parent
a8b601dc12
commit
b6c68e2bb4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user