fix gpu-k8s role ip resolution

This commit is contained in:
shenlan 2025-06-25 23:07:35 +08:00
parent 050d327fc9
commit 8bdf5fb17e

View File

@ -20,6 +20,10 @@
{{ (node_ips | default([])) | length > 0
| ternary(node_ips,
nodes | default([]) | map('extract', hostvars, 'ansible_host') | list) }}
delegate_to: "{{ ops_host | default(masters | default(master_ips) | first) }}"
delegate_facts: true
run_once: true
become: false
- name: Install sealos CLI