diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-09-04 16:00:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-04 16:00:12 -0400 |
commit | 91a2cac8f5a5ae438b034e3712525480ce749fa6 (patch) | |
tree | 10af3ea44c1d1fd3da67d91d2976efbfefc4b33c | |
parent | 2687979a5dd8df82b6843937e2bcc6a76b6b1668 (diff) | |
parent | b26bfc856d9a36ce2c2eb770a3faa38dcbb37207 (diff) | |
download | openshift-91a2cac8f5a5ae438b034e3712525480ce749fa6.tar.gz openshift-91a2cac8f5a5ae438b034e3712525480ce749fa6.tar.bz2 openshift-91a2cac8f5a5ae438b034e3712525480ce749fa6.tar.xz openshift-91a2cac8f5a5ae438b034e3712525480ce749fa6.zip |
Merge pull request #5279 from kwoodson/repos_accept_name_or_id
Adding another default to protect against missing name/desc
-rw-r--r-- | roles/openshift_repos/tasks/main.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_repos/tasks/main.yaml b/roles/openshift_repos/tasks/main.yaml index 6b3de4dba..f972c0fd9 100644 --- a/roles/openshift_repos/tasks/main.yaml +++ b/roles/openshift_repos/tasks/main.yaml @@ -12,7 +12,7 @@ - name: Create any additional repos that are defined yum_repository: - description: "{{ item.description | default(item.name) }}" + description: "{{ item.description | default(item.name | default(item.id)) }}" name: "{{ item.name | default(item.id) }}" baseurl: "{{ item.baseurl }}" gpgkey: "{{ item.gpgkey | default(omit)}}" |