playbook/roles/k3s/tasks/main.yml: fixed 'kubeovn' is undefined
This commit is contained in:
parent
cda50e37d3
commit
bbf72c230c
@ -12,10 +12,10 @@
|
||||
|
||||
- name: Sync K3S CNI Config
|
||||
template: src=templates/cni_install.sh dest=/tmp/ owner=root group=root mode=0644
|
||||
when: ( inventory_hostname in groups[group] ) and (cni == kubeovn )
|
||||
when: ( inventory_hostname in groups[group] ) and (cni == 'kubeovn' )
|
||||
- name: Setup K3S CNI
|
||||
shell: 'bash /tmp/cni_install.sh'
|
||||
when: ( inventory_hostname in groups[group] ) and (cni == kubeovn )
|
||||
when: ( inventory_hostname in groups[group] ) and (cni == 'kubeovn' )
|
||||
ignore_errors: yes
|
||||
|
||||
#- name: Setup Egress
|
||||
|
||||
Loading…
Reference in New Issue
Block a user