summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2017-06-27 10:01:09 -0400
committerAndrew Butcher <abutcher@redhat.com>2017-06-27 17:02:24 -0400
commit8e91ce82be1585c31401664c00d753035ed7f33e (patch)
tree7b70580cc47bcba13af61f504272e04e1d092466 /playbooks/common/openshift-cluster
parent7bbff6ce7d8e6e8b739e8dd6b6fe3bef913eb296 (diff)
downloadopenshift-8e91ce82be1585c31401664c00d753035ed7f33e.tar.gz
openshift-8e91ce82be1585c31401664c00d753035ed7f33e.tar.bz2
openshift-8e91ce82be1585c31401664c00d753035ed7f33e.tar.xz
openshift-8e91ce82be1585c31401664c00d753035ed7f33e.zip
Update master configuration for named certificates during master cert redeploy.
Diffstat (limited to 'playbooks/common/openshift-cluster')
-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