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:
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
ftp_proxy="{{ proxy }}"
|
||||
no_proxy="{{ no_proxy }}"
|
||||
|
||||
- name: set aptcache
|
||||
- name: Set aptcache
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/apt/apt.conf
|
||||
content: >
|
||||
{{ apt_conf }}
|
||||
|
||||
- name: set ntp Server
|
||||
- name: Set NTP server
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/systemd/timesyncd.conf
|
||||
insertafter: '^#NTP='
|
||||
|
|
Loading…
Add table
Reference in a new issue