Skip to content

Commit

Permalink
Create wakeon.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Vreden46 authored Sep 2, 2024
1 parent be0d995 commit d2313fc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions wakeon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
- name: Wake-on-LAN playbook
hosts: all
become: yes
tasks:
- name: Ensure wakeonlan is installed
ansible.builtin.package:
name: wakeonlan
state: present

- name: Send WoL packet to Proxmox Server
ansible.builtin.command: wakeonlan 60:32:b1:d8:e6:7b
args:
chdir: /usr/bin/
ignore_errors: true

0 comments on commit d2313fc

Please sign in to comment.