diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-03-01 16:54:14 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-03-01 16:54:14 -0500 |
commit | 8621904168b5e99cbf03158d888e6883e627e1e9 (patch) | |
tree | d712353a12bcbb1c4fb8706b1480da75c4d4eedf /roles/openshift_hosted/tasks | |
parent | 00683cbb4b222f702b8367b8d259d8e7049d2a8e (diff) | |
download | openshift-8621904168b5e99cbf03158d888e6883e627e1e9.tar.gz openshift-8621904168b5e99cbf03158d888e6883e627e1e9.tar.bz2 openshift-8621904168b5e99cbf03158d888e6883e627e1e9.tar.xz openshift-8621904168b5e99cbf03158d888e6883e627e1e9.zip |
Fixed error handling when oc adm ca create-server-cert fails. Fixed a logic error in secure.
Diffstat (limited to 'roles/openshift_hosted/tasks')
-rw-r--r-- | roles/openshift_hosted/tasks/registry/secure.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_hosted/tasks/registry/secure.yml b/roles/openshift_hosted/tasks/registry/secure.yml index bd513b943..f9ea2ebeb 100644 --- a/roles/openshift_hosted/tasks/registry/secure.yml +++ b/roles/openshift_hosted/tasks/registry/secure.yml @@ -8,7 +8,7 @@ backup: True dest: "/etc/origin/master/named_certificates/{{ item.value | basename }}" src: "{{ item.value }}" - when: item.key in ['certfile', 'keyfile', 'cafile'] and item.value is not None + when: item.key in ['certfile', 'keyfile', 'cafile'] and item.value with_dict: "{{ openshift_hosted_registry_routecertificates }}" # When certificates are defined we will create the reencrypt |