mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-17 11:10:09 -03:30
Add Elastx CI (#6127)
This commit is contained in:
@@ -188,7 +188,7 @@
|
||||
EOF
|
||||
when:
|
||||
- inventory_hostname == groups['kube-master'][0]
|
||||
- kube_network_plugin_multus|bool|default(false)
|
||||
- kube_network_plugin_multus|default(false)|bool
|
||||
|
||||
- name: Annotate pod with macvlan network
|
||||
# We cannot use only shell: below because Ansible will render the text
|
||||
@@ -212,7 +212,7 @@
|
||||
EOF
|
||||
when:
|
||||
- inventory_hostname == groups['kube-master'][0]
|
||||
- kube_network_plugin_multus|bool|default(false)
|
||||
- kube_network_plugin_multus|default(false)|bool
|
||||
|
||||
- name: Check secondary macvlan interface
|
||||
shell: "{{ bin_dir }}/kubectl exec samplepod -- ip addr show dev net1"
|
||||
@@ -222,4 +222,4 @@
|
||||
changed_when: false
|
||||
when:
|
||||
- inventory_hostname == groups['kube-master'][0]
|
||||
- kube_network_plugin_multus|bool|default(false)
|
||||
- kube_network_plugin_multus|default(false)|bool
|
||||
|
||||
Reference in New Issue
Block a user