diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-08-31 11:56:12 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-08-31 11:56:12 -0400 |
commit | b26bfc856d9a36ce2c2eb770a3faa38dcbb37207 (patch) | |
tree | 9ba68abf14d62b6436ab68728d9a2203a1a4f938 /roles/openshift_repos/tasks | |
parent | a00df5740d98b1ba8aaef07d3f5ad16a12be3219 (diff) | |
download | openshift-b26bfc856d9a36ce2c2eb770a3faa38dcbb37207.tar.gz openshift-b26bfc856d9a36ce2c2eb770a3faa38dcbb37207.tar.bz2 openshift-b26bfc856d9a36ce2c2eb770a3faa38dcbb37207.tar.xz openshift-b26bfc856d9a36ce2c2eb770a3faa38dcbb37207.zip |
Adding another default to protect against missing name/desc
Diffstat (limited to 'roles/openshift_repos/tasks')
-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)}}" |