Wait for new VM's to be fully reachable
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
4509756e0f
commit
923c8b9905
@ -70,6 +70,13 @@
|
|||||||
groups: k3s_ha
|
groups: k3s_ha
|
||||||
with_items: "{{ nodes }}"
|
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
|
- name: Scan public keys
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: "ssh-keyscan -t rsa {{ item.ip }}"
|
cmd: "ssh-keyscan -t rsa {{ item.ip }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user