playbook/roles/k3s-addon/tasks/main.yml: fixed

This commit is contained in:
Haitao Pan 2023-06-04 17:19:55 +08:00
parent 37719391dc
commit 1f9e875a5b

View File

@ -6,7 +6,7 @@
when: inventory_hostname in groups[group] and ( svc_discovery == 'enable' )
- name: Set K3S Ingress
script: script: files/setup-ingress.sh {{ ingress }} {{ ingress_ip }}
script: files/setup-ingress.sh {{ ingress }} {{ ingress_ip }}
when: inventory_hostname in groups[group] and ( ingress == 'nginx' )
- name: Sync K3S Ingress Deploy yaml