remove argsplat warning
Since we can't be sure how deployers would override this setting, we try applying all parameters, and omit those not defined. Change-Id: Ie83b708ac7ee094e5ab0a72099d83418cc4cb58a
This commit is contained in:
parent
ea16ee62de
commit
501803569e
@ -21,7 +21,15 @@
|
||||
with_items: "{{ elastic_gpg_keys | selectattr('file','defined') | list }}"
|
||||
|
||||
- name: Install Elastic gpg keys
|
||||
apt_key: "{{ key }}"
|
||||
apt_key:
|
||||
data: "{{ key.data | default(omit) }}"
|
||||
file: "{{ key.file | default(omit) }}"
|
||||
id: "{{ key.id | default(omit) }}"
|
||||
keyring: "{{ key.keyring | default(omit) }}"
|
||||
keyserver: "{{ key.keyserver | default(omit) }}"
|
||||
state: "{{ key.state | default('present') }}"
|
||||
url: "{{ key.url | default(omit) }}"
|
||||
validate_certs: "{{ key.validate_certs | default('yes') }}"
|
||||
with_items: "{{ elastic_gpg_keys }}"
|
||||
loop_control:
|
||||
loop_var: key
|
||||
|
Loading…
Reference in New Issue
Block a user