add wait for

master
Michael Wilson 3 years ago
parent 4642e2b65d
commit 9f3f392626
  1. 9
      hetzner/autoinstall/handlers/main.yml

@ -1,2 +1,11 @@
- name: unlock_disk - name: unlock_disk
block:
- name: send unlock command
raw: "printf '{{ autoinstall_disk_encryption_secret }}' | cryptroot-unlock" raw: "printf '{{ autoinstall_disk_encryption_secret }}' | cryptroot-unlock"
- name: wait for boot
wait_for:
delay: 5
port: '{{ ansible_ssh_port|default(22) }}'
host: '{{ ansible_ssh_host }}'
search_regex: OpenSSH|dropbear
timeout: 300

Loading…
Cancel
Save