summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-09-14 11:14:53 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-09-14 11:14:53 -0400
commitf3b7f5eb6b79af0caee5063b636e87515bcd720c (patch)
tree49099c0f2c2311a96625f691d48849f2257af037 /playbooks/common/openshift-cluster
parente1ce7d7b305cf5dc2cd7077a462416155fc89be7 (diff)
downloadopenshift-f3b7f5eb6b79af0caee5063b636e87515bcd720c.tar.gz
openshift-f3b7f5eb6b79af0caee5063b636e87515bcd720c.tar.bz2
openshift-f3b7f5eb6b79af0caee5063b636e87515bcd720c.tar.xz
openshift-f3b7f5eb6b79af0caee5063b636e87515bcd720c.zip
[redeploy-certificates] Correct etcd service name.
Diffstat (limited to 'playbooks/common/openshift-cluster')
-rw-r--r--playbooks/common/openshift-cluster/redeploy-certificates.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/redeploy-certificates.yml b/playbooks/common/openshift-cluster/redeploy-certificates.yml
index b97906072..46b461770 100644
--- a/playbooks/common/openshift-cluster/redeploy-certificates.yml
+++ b/playbooks/common/openshift-cluster/redeploy-certificates.yml
@@ -133,7 +133,9 @@
hosts: oo_etcd_to_config
tasks:
- name: restart etcd
- service: name=etcd state=restarted
+ service:
+ name: "{{ 'etcd' if not openshift.common.is_containerized | bool else 'etcd_container' }}"
+ state: restarted
- name: Stop master services
hosts: oo_masters_to_config