[calico] call calico checks early on to prevent altering the cluster with bad configuration (#8707)

This commit is contained in:
Cristian Calin
2022-04-14 11:08:46 +03:00
committed by GitHub
parent aef5f1e139
commit 45262da726
5 changed files with 136 additions and 100 deletions

View File

@@ -117,3 +117,11 @@
- ansible_os_family == "RedHat"
tags:
- bootstrap-os
- name: Run calico checks
include_role:
name: network_plugin/calico
tasks_from: check
when:
- kube_network_plugin == 'calico'
- not ignore_assert_errors