mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
upt playbook
This commit is contained in:
parent
0d5cd9fe2b
commit
8740a2f643
@ -2,6 +2,9 @@
|
||||
name: Enable WOL
|
||||
become: true
|
||||
tasks:
|
||||
- name: Display all interfaces name
|
||||
debug:
|
||||
var: ansible_facts.interfaces
|
||||
- name: Creating config
|
||||
become: yes
|
||||
ansible.builtin.copy:
|
||||
@ -13,7 +16,7 @@
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart = /usr/sbin/ethtool --change enp3s0 wol g
|
||||
ExecStart = /usr/sbin/ethtool --change enp2s0 wol g
|
||||
|
||||
[Install]
|
||||
WantedBy=basic.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user