summaryrefslogtreecommitdiffstats
path: root/roles/etcd/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/etcd/handlers/main.yml')
-rw-r--r--roles/etcd/handlers/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/etcd/handlers/main.yml b/roles/etcd/handlers/main.yml
index 4c0efb97b..aeb26d6b2 100644
--- a/roles/etcd/handlers/main.yml
+++ b/roles/etcd/handlers/main.yml
@@ -1,4 +1,5 @@
---
+
- name: restart etcd
- service: name=etcd state=restarted
+ service: name={{ etcd_service }} state=restarted
when: not etcd_service_status_changed | default(false)