From f3b7f5eb6b79af0caee5063b636e87515bcd720c Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Wed, 14 Sep 2016 11:14:53 -0400 Subject: [redeploy-certificates] Correct etcd service name. --- playbooks/common/openshift-cluster/redeploy-certificates.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'playbooks/common') 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 -- cgit v1.2.3