summaryrefslogtreecommitdiffstats
path: root/roles/etcd_common/vars
diff options
context:
space:
mode:
Diffstat (limited to 'roles/etcd_common/vars')
-rw-r--r--roles/etcd_common/vars/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/etcd_common/vars/main.yml b/roles/etcd_common/vars/main.yml
new file mode 100644
index 000000000..00d697776
--- /dev/null
+++ b/roles/etcd_common/vars/main.yml
@@ -0,0 +1,4 @@
+---
+etcd_service: "{{ 'etcd_container' if r_etcd_common_etcd_runtime == 'docker' else 'etcd' }}"
+# Location of the service file is fixed and not meant to be changed
+etcd_service_file: "/etc/systemd/system/{{ etcd_service }}.service"