Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
FUSS
fuss-client
Commits
f8b27383
Commit
f8b27383
authored
Jun 13, 2022
by
Elena Grandi
Browse files
Enable WoL also on standalone
parent
51e29a4c
Pipeline
#359
failed with stage
in 30 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ansible/roles/network_standalone/meta/main.yml
0 → 100644
View file @
f8b27383
---
dependencies
:
-
{
role
:
common
}
ansible/roles/network_standalone/tasks/main.yml
0 → 100644
View file @
f8b27383
# 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
ansible/roles/network_standalone/templates/wol.service
0 → 100644
View file @
f8b27383
[Unit]
Description
=
Enable WakeOnLan
After
=
network.target
[Service]
ExecStart
=
/sbin/ethtool -s {{ ansible_default_ipv4.interface }} wol g
[Install]
WantedBy
=
multi-user.target
ansible/standalone.yml
View file @
f8b27383
...
...
@@ -26,6 +26,7 @@
-
common
-
fuss_packages
-
desktop
-
network_standalone
-
misc_standalone
-
role
:
unofficial
when
:
unofficial is defined and unofficial
...
...
debian/changelog
View file @
f8b27383
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment