summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-06-29 08:52:10 -0400
committerGitHub <noreply@github.com>2017-06-29 08:52:10 -0400
commitea678ad4ee999abd71c5a175810925cf6c3e42dd (patch)
tree78690eabae33f13b9104485e7e3257795a9d1aa0 /playbooks
parent2d7e10b02d8d4c400d242a1612ade3d15c69a57e (diff)
parent8e91ce82be1585c31401664c00d753035ed7f33e (diff)
downloadopenshift-ea678ad4ee999abd71c5a175810925cf6c3e42dd.tar.gz
openshift-ea678ad4ee999abd71c5a175810925cf6c3e42dd.tar.bz2
openshift-ea678ad4ee999abd71c5a175810925cf6c3e42dd.tar.xz
openshift-ea678ad4ee999abd71c5a175810925cf6c3e42dd.zip
Merge pull request #4602 from abutcher/named-cert-redeploy
Update master configuration for named certificates during master cert redeploy.
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-cluster/redeploy-certificates/masters.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/redeploy-certificates/masters.yml b/playbooks/common/openshift-cluster/redeploy-certificates/masters.yml
index c30889d64..51b196299 100644
--- a/playbooks/common/openshift-cluster/redeploy-certificates/masters.yml
+++ b/playbooks/common/openshift-cluster/redeploy-certificates/masters.yml
@@ -51,3 +51,13 @@
| oo_collect('openshift.common.hostname')
| default(none, true) }}"
openshift_certificates_redeploy: true
+ - role: lib_utils
+ post_tasks:
+ - yedit:
+ src: "{{ openshift.common.config_base }}/master/master-config.yaml"
+ key: servingInfo.namedCertificates
+ value: "{{ openshift.master.named_certificates | default([]) | oo_named_certificates_list }}"
+ when:
+ - ('named_certificates' in openshift.master)
+ - openshift.master.named_certificates | default([]) | length > 0
+ - openshift_master_overwrite_named_certificates | default(false) | bool