summaryrefslogtreecommitdiffstats
path: root/roles/openshift_etcd_facts
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivano@gnu.org>2017-02-10 16:01:46 +0100
committerGitHub <noreply@github.com>2017-02-10 16:01:46 +0100
commite1e69ad8346a6938e1d58a852dbf2f8ad28eff6f (patch)
tree8cabded134f0423b6d61cf95f00a574539d00db7 /roles/openshift_etcd_facts
parent07ca54fe406a533e70350aa9273d5a3df297f156 (diff)
parentb84a2cdcbdcbceed8da09485a9e9015378b5818f (diff)
downloadopenshift-e1e69ad8346a6938e1d58a852dbf2f8ad28eff6f.tar.gz
openshift-e1e69ad8346a6938e1d58a852dbf2f8ad28eff6f.tar.bz2
openshift-e1e69ad8346a6938e1d58a852dbf2f8ad28eff6f.tar.xz
openshift-e1e69ad8346a6938e1d58a852dbf2f8ad28eff6f.zip
Merge pull request #3109 from giuseppe/system-containers
System containers
Diffstat (limited to 'roles/openshift_etcd_facts')
-rw-r--r--roles/openshift_etcd_facts/vars/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_etcd_facts/vars/main.yml b/roles/openshift_etcd_facts/vars/main.yml
index cae15d61a..82db36eba 100644
--- a/roles/openshift_etcd_facts/vars/main.yml
+++ b/roles/openshift_etcd_facts/vars/main.yml
@@ -5,6 +5,6 @@ etcd_hostname: "{{ openshift.common.hostname }}"
etcd_ip: "{{ openshift.common.ip }}"
etcd_cert_subdir: "etcd-{{ openshift.common.hostname }}"
etcd_cert_prefix:
-etcd_cert_config_dir: /etc/etcd
+etcd_cert_config_dir: "{{ '/etc/etcd' if not openshift.common.is_etcd_system_container | bool else '/var/lib/etcd/etcd.etcd/etc' }}"
etcd_peer_url_scheme: https
etcd_url_scheme: https