From 8e91ce82be1585c31401664c00d753035ed7f33e Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Tue, 27 Jun 2017 10:01:09 -0400 Subject: Update master configuration for named certificates during master cert redeploy. --- .../common/openshift-cluster/redeploy-certificates/masters.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'playbooks/common') 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 -- cgit v1.2.3