summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-09-30 14:14:18 -0700
committerGitHub <noreply@github.com>2017-09-30 14:14:18 -0700
commit62cb2a8d573928cb54a7d0ba475d61a6b65e0307 (patch)
tree74dc3c17224fe6d2b3bd4dfffc521e348c74eeb8 /roles/openshift_hosted
parent99c3117df11f1d6b5240dc72f57b2f7f541a234a (diff)
parentb649749bac0a086199820f91f85fe42ba99f206e (diff)
downloadopenshift-62cb2a8d573928cb54a7d0ba475d61a6b65e0307.tar.gz
openshift-62cb2a8d573928cb54a7d0ba475d61a6b65e0307.tar.bz2
openshift-62cb2a8d573928cb54a7d0ba475d61a6b65e0307.tar.xz
openshift-62cb2a8d573928cb54a7d0ba475d61a6b65e0307.zip
Merge pull request #5449 from abutcher/wildcard-router-cert-redeploy
Automatic merge from submit-queue. Bug 1490186: Router pod not running after router certificates redeployment This carries https://github.com/openshift/openshift-ansible/pull/5417. More of the router cert redeploy logic could be moved into the `openshift_hosted` role with a flag. I may pull those over. https://bugzilla.redhat.com/show_bug.cgi?id=1490186
Diffstat (limited to 'roles/openshift_hosted')
-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: