From 0b61ab55596415bd1b463f52a4110f46897d2352 Mon Sep 17 00:00:00 2001
From: Eric Mountain <eric.mountain@amadeus.com>
Date: Mon, 14 Dec 2015 10:35:35 +0100
Subject: Fixes typo when setting facts to record whether master/node has been
 restarted already, to decide whether notify handler should do so or not.
 Currently, this causes random SDN network setup failures as openshift-node
 gets restarted while the setup script is running, and the subsequent start
 fails to configure the SDN because it thinks it's already done.

---
 roles/openshift_master/tasks/main.yml | 6 +++---
 roles/openshift_node/tasks/main.yml   | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

(limited to 'roles')

diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 8995863ec..43647cc49 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -228,7 +228,7 @@
   register: start_result
 
 - set_fact:
-    master_service_status_changed = start_result | changed
+    master_service_status_changed: start_result | changed
   when: not openshift_master_ha | bool
 
 - name: Start and enable master api
@@ -237,7 +237,7 @@
   register: start_result
 
 - set_fact:
-    master_api_service_status_changed = start_result | changed
+    master_api_service_status_changed: start_result | changed
   when: openshift_master_ha | bool and openshift.master.cluster_method == 'native'
 
 - name: Start and enable master controller
@@ -246,7 +246,7 @@
   register: start_result
 
 - set_fact:
-    master_controllers_service_status_changed = start_result | changed
+    master_controllers_service_status_changed: start_result | changed
   when: openshift_master_ha | bool and openshift.master.cluster_method == 'native'
 
 - name: Install cluster packages
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index eef7bec9a..f8711d15a 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -131,4 +131,4 @@
   register: start_result
 
 - set_fact:
-    node_service_status_changed = start_result | changed
+    node_service_status_changed: start_result | changed
-- 
cgit v1.2.3