|
@@ -1,6 +1,7 @@
|
|
|
---
|
|
|
# runc, docker, host
|
|
|
r_etcd_common_etcd_runtime: "docker"
|
|
|
+r_etcd_common_embedded_etcd: false
|
|
|
|
|
|
# etcd server vars
|
|
|
etcd_conf_dir: "{{ '/etc/etcd' if r_etcd_common_etcd_runtime != 'runc' else '/var/lib/etcd/etcd.etcd/etc' }}"
|
|
@@ -40,7 +41,7 @@ etcd_is_containerized: False
|
|
|
etcd_is_thirdparty: False
|
|
|
|
|
|
# etcd dir vars
|
|
|
-etcd_data_dir: /var/lib/etcd/
|
|
|
+etcd_data_dir: "{{ '/var/lib/origin/openshift.local.etcd' if r_etcd_common_embedded_etcd | bool else '/var/lib/etcd/' }}"
|
|
|
|
|
|
# etcd ports and protocols
|
|
|
etcd_client_port: 2379
|