Fix error for azure+calico assert (#1717)

Fixes #1716
This commit is contained in:
Matthew Mosesohn 2017-09-29 08:17:18 +01:00 committed by GitHub
parent 3ff5f40bdb
commit 25dd3d476a

View file

@ -23,7 +23,8 @@
- name: Stop if incompatible network plugin and cloudprovider - name: Stop if incompatible network plugin and cloudprovider
assert: 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' when: cloud_provider is defined and cloud_provider == 'azure'
ignore_errors: "{{ ignore_assert_errors }}" ignore_errors: "{{ ignore_assert_errors }}"