diff --git a/playbooks/wol_enable.yml b/playbooks/wol_enable.yml index a9bb763..6d5a775 100644 --- a/playbooks/wol_enable.yml +++ b/playbooks/wol_enable.yml @@ -22,7 +22,7 @@ [Service] Type=oneshot - ExecStart = /usr/sbin/ethtool --change enp2s0 wol g + ExecStart = /usr/sbin/ethtool --change "{{ wifi_adapter }}" wol g [Install] WantedBy=basic.target