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