From 076a1f567647be83d9c8b593eab8ec576c0ca038 Mon Sep 17 00:00:00 2001
From: Michael Gugino <mgugino@redhat.com>
Date: Fri, 3 Nov 2017 08:50:57 -0400
Subject: Correct groupname during upgrade_control_plane play

Currently, upgrade_control_plane calls tasks meant for
master on etcd group.

This commit corrects the groupname.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1508734
---
 .../common/openshift-cluster/upgrades/v3_7/upgrade_control_plane.yml    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'playbooks')

diff --git a/playbooks/common/openshift-cluster/upgrades/v3_7/upgrade_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/v3_7/upgrade_control_plane.yml
index d5a8379d7..b905d6d86 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_7/upgrade_control_plane.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_7/upgrade_control_plane.yml
@@ -129,7 +129,7 @@
 
 # All controllers must be stopped at the same time then restarted
 - name: Cycle all controller services to force new leader election mode
-  hosts: oo_etcd_to_config
+  hosts: oo_masters_to_config
   gather_facts: no
   tasks:
   - name: Stop {{ openshift.common.service_type }}-master-controllers
-- 
cgit v1.2.3