Adding defaults in case of puddle repos without ssl
name: "{{ item.name }}"
baseurl: "{{ item.baseurl }}"
gpgkey: "{{ item.gpgkey | default(omit)}}"
- gpgcheck: "{{ item.gpgcheck }}"
- sslverify: "{{ item.sslverify }}"
- sslclientkey: "{{ item.sslclientkey }}"
- sslclientcert: "{{ item.sslclientcert }}"
+ gpgcheck: "{{ item.gpgcheck | default(1) }}"
+ sslverify: "{{ item.sslverify | default(1) }}"
+ sslclientkey: "{{ item.sslclientkey | default(omit) }}"
+ sslclientcert: "{{ item.sslclientcert | default(omit) }}"
file: "{{ item.file }}"
enabled: "{{ item.enabled }}"
with_items: "{{ yr_yum_repo_list }}"
