homelab/metal/roles/wol-wake/tasks/main.yml

8 lines
235 B
YAML
Raw Normal View History

2022-05-12 23:15:51 +02:00
- name: Send magic packets
community.general.wakeonlan:
mac: "{{ hostvars[inventory_hostname]['mac'] }}"
delegate_to: localhost
- name: Wait for machines to come online with installed OS
wait_for_connection:
timeout: 600