roles/k3s: update

This commit is contained in:
Haitao Pan 2023-05-29 10:08:06 +08:00
parent 2c31b9da53
commit c08ec68bc5
3 changed files with 9 additions and 9 deletions

View File

@ -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 }}