Commit f8b27383 authored by Elena Grandi's avatar Elena Grandi
Browse files

Enable WoL also on standalone

parent 51e29a4c
Pipeline #359 failed with stage
in 30 seconds
---
dependencies:
- { role: common }
# Copyright (C) 2017 Progetto Fuss <info@fuss.bz.it>
# Christopher R. Gabriel <cgabriel@truelite.it>
# Elena Grandi <elena@truelite.it>
# Copyright (C) 2017-2021 The FUSS Project <info@fuss.bz.it>
# Copyright (C) 2021-2022 The FUSS Project <info@fuss.bz.it>
# Author: Marco Marinello <contact-nohuman@marinello.bz.it>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program or from the site that you downloaded it
# from; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place, Suite 330, Boston, MA 02111-1307 USA
---
- name: Check that ethtool is installed
include: "{{includes}}/install-package-apt.yml"
with_items:
- ethtool
- name: Install service to enable WoL
template:
dest: /etc/systemd/system/wol.service
src: wol.service
- name: Enable service to enable WoL
systemd:
name: wol
enabled: yes
[Unit]
Description=Enable WakeOnLan
After=network.target
[Service]
ExecStart=/sbin/ethtool -s {{ ansible_default_ipv4.interface }} wol g
[Install]
WantedBy=multi-user.target
......@@ -26,6 +26,7 @@
- common
- fuss_packages
- desktop
- network_standalone
- misc_standalone
- role: unofficial
when: unofficial is defined and unofficial
......
......@@ -6,6 +6,7 @@ fuss-client (11.0.1) UNRELEASED; urgency=medium
* Install xournalpp from backports.
* Re-enable the veyon role.
* Use ansible-mitogen to run ansible faster.
* Enable WoL also on standalone.
[ Simone Piccardi ]
* Ensure nslcd is running on veyon role
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment