roles/k3s: update
This commit is contained in:
parent
2c31b9da53
commit
c08ec68bc5
@ -1,15 +1,15 @@
|
||||
- name: Setup K3S Server
|
||||
script: files/setup.sh
|
||||
script: files/setup-k3s.sh
|
||||
when: inventory_hostname in groups[group]
|
||||
|
||||
- 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]
|
||||
|
||||
- name: Setup K3S CNI
|
||||
shell: 'bash /tmp/cni_install.sh'
|
||||
when: inventory_hostname in groups[group]
|
||||
ignore_errors: yes
|
||||
#- 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]
|
||||
#
|
||||
#- name: Setup K3S CNI
|
||||
# shell: 'bash /tmp/cni_install.sh'
|
||||
# when: inventory_hostname in groups[group]
|
||||
# ignore_errors: yes
|
||||
|
||||
- name: Setup K3S Ingress
|
||||
script: files/setup-ingress-apisix-controller.sh {{ ingress_ip }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user