Enable wake-on-lan.
This commit is contained in:
parent
faeeb46ddf
commit
2e05599294
2 changed files with 8 additions and 2 deletions
|
@ -91,6 +91,12 @@
|
|||
RememberLastUser=false
|
||||
RememberLastSession=false
|
||||
|
||||
- name: Enable wake-on-lan for all ethernet connections
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/NetworkManager/conf.d/wake-on-lan.conf
|
||||
content: |
|
||||
[connection]
|
||||
ethernet.wake-on-lan=64
|
||||
|
||||
- name: Create directory to avoid suspend
|
||||
ansible.builtin.file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue