summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-06-20 12:03:52 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-06-20 12:28:57 +0200
commit21b2249b3029beaa5f44b2a2847aaae241e78f96 (patch)
treeb41ad6df0edc35c2c36533cb92df937658f908e0 /playbooks/common
parent0b0e0d1ec88af89f6315e1602b30ffe5218c88dc (diff)
downloadopenshift-21b2249b3029beaa5f44b2a2847aaae241e78f96.tar.gz
openshift-21b2249b3029beaa5f44b2a2847aaae241e78f96.tar.bz2
openshift-21b2249b3029beaa5f44b2a2847aaae241e78f96.tar.xz
openshift-21b2249b3029beaa5f44b2a2847aaae241e78f96.zip
detect etcd service name based on etcd runtime when restarting
Diffstat (limited to 'playbooks/common')
-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