diff --git a/playbook.yml b/playbook.yml index 3656e4d..7d0f765 100644 --- a/playbook.yml +++ b/playbook.yml @@ -70,6 +70,13 @@ groups: k3s_ha with_items: "{{ nodes }}" + - name: Wait for systems to become reachable over SSH + ansible.builtin.wait_for: + host: "{{ item.ip }}" + port: 22 + timeout: 300 + with_items: "{{ nodes }}" + - name: Scan public keys ansible.builtin.shell: cmd: "ssh-keyscan -t rsa {{ item.ip }}"