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: yum_repository:
name: "{{ item.name }}" name: "{{ item.name }}"
file: "{{ item.filename }}" file: "{{ item.filename }}"
description: "{{ item.desc }}" description: "{{ item.desc | default(omit) }}"
baseurl: "{{ item.baseurl }}" baseurl: "{{ item.baseurl | default(omit) }}"
gpgkey: "{{ item.gpgkey }}" gpgkey: "{{ item.gpgkey | default(omit) }}"
gpgcheck: "{{ item.gpgcheck | default('yes') }}" gpgcheck: "{{ item.gpgcheck | default('yes') }}"
sslverify: "{{ item.sslverify | default('yes') }}" sslverify: "{{ item.sslverify | default('yes') }}"
enabled: "{{ item.enabled }}" enabled: "{{ item.enabled | default('yes') }}"
state: "{{ item.state | default('present') }}"
loop: "{{ yum_repositories }}" loop: "{{ yum_repositories }}"
loop_control: loop_control:
label: "{{ item.name }}" label: "{{ item.name }}"