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/etcd_common/defaults | |
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/etcd_common/defaults')
-rw-r--r-- | roles/etcd_common/defaults/main.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/etcd_common/defaults/main.yml b/roles/etcd_common/defaults/main.yml index 93633e3e6..2eb9af921 100644 --- a/roles/etcd_common/defaults/main.yml +++ b/roles/etcd_common/defaults/main.yml @@ -1,6 +1,7 @@ --- # etcd server vars -etcd_conf_dir: /etc/etcd +etcd_conf_dir: "{{ '/etc/etcd' if not openshift.common.is_etcd_system_container else '/var/lib/etcd/etcd.etcd/etc' }}" +etcd_system_container_conf_dir: /var/lib/etcd/etc etcd_ca_file: "{{ etcd_conf_dir }}/ca.crt" etcd_cert_file: "{{ etcd_conf_dir }}/server.crt" etcd_key_file: "{{ etcd_conf_dir }}/server.key" |