add missing defaults for yum_repository
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-11-21 12:29:02 +01:00
parent 336e264b09
commit 1a5fc58ce3

View File

@ -3,12 +3,13 @@
yum_repository:
name: "{{ item.name }}"
file: "{{ item.filename }}"
description: "{{ item.desc }}"
baseurl: "{{ item.baseurl }}"
gpgkey: "{{ item.gpgkey }}"
description: "{{ item.desc | default(omit) }}"
baseurl: "{{ item.baseurl | default(omit) }}"
gpgkey: "{{ item.gpgkey | default(omit) }}"
gpgcheck: "{{ item.gpgcheck | default('yes') }}"
sslverify: "{{ item.sslverify | default('yes') }}"
enabled: "{{ item.enabled }}"
enabled: "{{ item.enabled | default('yes') }}"
state: "{{ item.state | default('present') }}"
loop: "{{ yum_repositories }}"
loop_control:
label: "{{ item.name }}"