summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2015-11-16 16:01:35 -0500
committerAndrew Butcher <abutcher@redhat.com>2015-11-16 17:07:50 -0500
commit927e585bbeb049523313bacedc57efee2eacf232 (patch)
tree1352c122f04af3bcb9d535d9edc11b1f67144c17 /playbooks/common
parent03e6ae850ce718c008636bd8db093f453e62ccf3 (diff)
downloadopenshift-927e585bbeb049523313bacedc57efee2eacf232.tar.gz
openshift-927e585bbeb049523313bacedc57efee2eacf232.tar.bz2
openshift-927e585bbeb049523313bacedc57efee2eacf232.tar.xz
openshift-927e585bbeb049523313bacedc57efee2eacf232.zip
Add additive_facts_to_overwrite instead of overwriting all additive_facts
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-master/config.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index 8719d080d..ff1579218 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -288,7 +288,8 @@
role: master
local_facts:
named_certificates: "{{ hostvars.localhost.parsed_named_certificates | default([]) }}"
- overwrite_additive_facts: "{{ overwrite_named_certs }}"
+ additive_facts_to_overwrite:
+ - "{{ 'master.named_certificates' if overwrite_named_certs | bool else omit }}"
- name: Clear named certificates
file:
path: "{{ named_certs_dir }}"