summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-etcd
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-06-22 09:30:50 +0200
committerGitHub <noreply@github.com>2017-06-22 09:30:50 +0200
commitd1e2928a8c1a91e3cfbb345e9e85589a3f260c15 (patch)
treeadc30b6c6a41089f74e7856006861d3848ea0740 /playbooks/common/openshift-etcd
parent7db01fed21421ca9dbdcb1219b6da578db8bb96c (diff)
parent21b2249b3029beaa5f44b2a2847aaae241e78f96 (diff)
downloadopenshift-d1e2928a8c1a91e3cfbb345e9e85589a3f260c15.tar.gz
openshift-d1e2928a8c1a91e3cfbb345e9e85589a3f260c15.tar.bz2
openshift-d1e2928a8c1a91e3cfbb345e9e85589a3f260c15.tar.xz
openshift-d1e2928a8c1a91e3cfbb345e9e85589a3f260c15.zip
Merge pull request #4504 from ingvagabund/restart-the-right-etcd-service
detect etcd service name based on etcd runtime when restarting
Diffstat (limited to 'playbooks/common/openshift-etcd')
-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