From 25dd3d476a1792501a559fb630d08f6d0bb6fb9c Mon Sep 17 00:00:00 2001
From: Matthew Mosesohn <matthew.mosesohn@gmail.com>
Date: Fri, 29 Sep 2017 08:17:18 +0100
Subject: [PATCH] Fix error for azure+calico assert (#1717)

Fixes #1716
---
 roles/kubernetes/preinstall/tasks/verify-settings.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/roles/kubernetes/preinstall/tasks/verify-settings.yml b/roles/kubernetes/preinstall/tasks/verify-settings.yml
index b35946407..9a04e2016 100644
--- a/roles/kubernetes/preinstall/tasks/verify-settings.yml
+++ b/roles/kubernetes/preinstall/tasks/verify-settings.yml
@@ -23,7 +23,8 @@
 
 - name: Stop if incompatible network plugin and cloudprovider
   assert:
-    that: network_plugin != calico
+    that: network_plugin != 'calico'
+    msg: "Azure and Calico are not compatible. See https://github.com/projectcalico/calicoctl/issues/949 for details."
   when: cloud_provider is defined and cloud_provider == 'azure'
   ignore_errors: "{{ ignore_assert_errors }}"
 
-- 
GitLab