summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-etcd/restart.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/common/openshift-etcd/restart.yml')
-rw-r--r--playbooks/common/openshift-etcd/restart.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-etcd/restart.yml b/playbooks/common/openshift-etcd/restart.yml
index 196c86f28..af1ef245a 100644
--- a/playbooks/common/openshift-etcd/restart.yml
+++ b/playbooks/common/openshift-etcd/restart.yml
@@ -5,5 +5,5 @@
tasks:
- name: restart etcd
service:
- name: "{{ 'etcd' if not openshift.common.is_containerized | bool else 'etcd_container' }}"
+ name: "{{ 'etcd_container' if openshift.common.etcd_runtime == 'docker' else 'etcd' }}"
state: restarted