add yum_repositories_extra var
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-10-17 11:19:33 +02:00
parent 36cc167121
commit f5a8d3ff40
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ yum_repositories: []
# gpgkey: "http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-$releasever/" # gpgkey: "http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-$releasever/"
# enabled: True # enabled: True
# @end # @end
yum_repositories_extra: []
yum_repofiles_remove: [] yum_repofiles_remove: []

View File

@ -11,7 +11,7 @@
sslverify: "{{ item.sslverify | default('yes') }}" sslverify: "{{ item.sslverify | default('yes') }}"
enabled: "{{ item.enabled | default('yes') }}" enabled: "{{ item.enabled | default('yes') }}"
state: "{{ item.state | default('present') }}" state: "{{ item.state | default('present') }}"
loop: "{{ yum_repositories }}" loop: "{{ yum_repositories + yum_repositories_extra }}"
loop_control: loop_control:
label: "{{ item.name }}" label: "{{ item.name }}"
notify: __yum_upgrade notify: __yum_upgrade