18 lines
392 B
YAML
18 lines
392 B
YAML
---
|
|
|
|
- name: Talos wait for health
|
|
when: "'talos_first_nodes' in group_names"
|
|
delegate_to: "{{ talosctl_host }}"
|
|
become: false
|
|
ansible.builtin.command:
|
|
cmd: >-
|
|
talosctl health
|
|
--wait-timeout 5m
|
|
register: _talosctl_health
|
|
until: "_talosctl_health is not failed"
|
|
retries: 10
|
|
delay: 10
|
|
changed_when: false
|
|
environment:
|
|
TALOSCONFIG: "{{ talosconfig }}"
|