diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2017-01-22 15:37:12 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2017-02-10 10:53:44 +0100 |
commit | 73d91dbcbcd3f2188977ac36e06adf57803b4842 (patch) | |
tree | ef6822a7e30c1d16648aba48b33bcc17e1de3387 /roles/openshift_etcd_facts | |
parent | 599ce1d450a0b7425928e40b9dd7296e5f055586 (diff) | |
download | openshift-73d91dbcbcd3f2188977ac36e06adf57803b4842.tar.gz openshift-73d91dbcbcd3f2188977ac36e06adf57803b4842.tar.bz2 openshift-73d91dbcbcd3f2188977ac36e06adf57803b4842.tar.xz openshift-73d91dbcbcd3f2188977ac36e06adf57803b4842.zip |
etcd: use as system container
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'roles/openshift_etcd_facts')
-rw-r--r-- | roles/openshift_etcd_facts/vars/main.yml | 2 |
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 |