mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-20 07:17:45 -02:30
Fix default value for standalone tests (#6043)
This commit is contained in:
@@ -4,8 +4,8 @@
|
|||||||
- name: Test tunl0 routes
|
- name: Test tunl0 routes
|
||||||
shell: "! /sbin/ip ro | grep '/26 via' | grep -v tunl0"
|
shell: "! /sbin/ip ro | grep '/26 via' | grep -v tunl0"
|
||||||
when:
|
when:
|
||||||
- (ipip|default(false) or cloud_provider is defined)
|
- (ipip|default(true) or cloud_provider is defined)
|
||||||
- kube_network_plugin == 'calico'
|
- kube_network_plugin|default('calico') == 'calico'
|
||||||
|
|
||||||
- hosts: k8s-cluster
|
- hosts: k8s-cluster
|
||||||
vars:
|
vars:
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
shell: "ethtool --offload flannel.1 rx off tx off"
|
shell: "ethtool --offload flannel.1 rx off tx off"
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
when:
|
when:
|
||||||
- kube_network_plugin == 'flannel'
|
- kube_network_plugin|default('calico') == 'flannel'
|
||||||
|
|
||||||
- name: Force binaries directory for Container Linux by CoreOS and Flatcar
|
- name: Force binaries directory for Container Linux by CoreOS and Flatcar
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|||||||
Reference in New Issue
Block a user