snel.kubernetes-cluster/roles/talos_wait_health/tasks/main.yml

13 lines
254 B
YAML

---
- name: Wait for Talos health
delegate_to: "{{ talosctl_host }}"
run_once: true
ansible.builtin.command:
cmd: >-
talosctl health
--wait-timeout='30m'
changed_when: false
environment:
TALOSCONFIG: "{{ talosconfig }}"