diff --git a/.ansible-lint b/.ansible-lint index 1f5a131d8c..796dfa158e 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -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 diff --git a/ansible/roles/elasticsearch/tasks/upgrade.yml b/ansible/roles/elasticsearch/tasks/upgrade.yml index f6dc02bf89..518f4bb2fd 100644 --- a/ansible/roles/elasticsearch/tasks/upgrade.yml +++ b/ansible/roles/elasticsearch/tasks/upgrade.yml @@ -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