summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2017-09-15 13:48:54 -0400
committerAndrew Butcher <abutcher@redhat.com>2017-09-29 10:57:21 -0400
commitb649749bac0a086199820f91f85fe42ba99f206e (patch)
tree5b636e0e1cb39f935b16ca002e9faf1054b5dcc6 /roles
parent6b987c29daad047747c426169e3eaae866662f32 (diff)
downloadopenshift-b649749bac0a086199820f91f85fe42ba99f206e.tar.gz
openshift-b649749bac0a086199820f91f85fe42ba99f206e.tar.bz2
openshift-b649749bac0a086199820f91f85fe42ba99f206e.tar.xz
openshift-b649749bac0a086199820f91f85fe42ba99f206e.zip
Include openshift_hosted when redeploying router certificates to handle auto-generated wildcard certificate or custom openshift_hosted_router_certificate.
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_hosted/tasks/router.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_hosted/tasks/router.yml b/roles/openshift_hosted/tasks/router.yml
index 2aeecc943..2aceef9e4 100644
--- a/roles/openshift_hosted/tasks/router.yml
+++ b/roles/openshift_hosted/tasks/router.yml
@@ -52,9 +52,9 @@
certfile: "{{ openshift_master_config_dir ~ '/openshift-router.crt' }}"
keyfile: "{{ openshift_master_config_dir ~ '/openshift-router.key' }}"
cafile: "{{ openshift_master_config_dir ~ '/ca.crt' }}"
-
- # End Block
- when: ( openshift_hosted_router_create_certificate | bool ) and openshift_hosted_router_certificate == {}
+ when:
+ - openshift_hosted_router_create_certificate | bool
+ - openshift_hosted_router_certificate == {}
- name: Create the router service account(s)
oc_serviceaccount: