From 21b2249b3029beaa5f44b2a2847aaae241e78f96 Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Tue, 20 Jun 2017 12:03:52 +0200 Subject: detect etcd service name based on etcd runtime when restarting --- playbooks/common/openshift-etcd/restart.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'playbooks/common') 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 -- cgit v1.2.3