mirror of
https://github.com/BluemediaDev/homelab.git
synced 2025-05-10 06:11:37 +02:00
Initial commit
This commit is contained in:
commit
50f2a54331
21 changed files with 276 additions and 0 deletions
8
metal/roles/wol-wake/tasks/main.yml
Normal file
8
metal/roles/wol-wake/tasks/main.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
- 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
|
Loading…
Add table
Add a link
Reference in a new issue