summaryrefslogtreecommitdiffstats
path: root/roles/ethtool/tasks
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-09 23:20:14 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-10 00:38:48 +0200
commit31ab4af71809028695e747cc717dae0e45a21e8e (patch)
tree0a46b0bbab2ab58a91e29669a9f5519e817d551a /roles/ethtool/tasks
parent1cbb9df950175e698e1edc87953e8f4bfb22b88a (diff)
Extract logind lid configuration into it's own role
Diffstat (limited to 'roles/ethtool/tasks')
-rw-r--r--roles/ethtool/tasks/main.yml14
1 files changed, 0 insertions, 14 deletions
diff --git a/roles/ethtool/tasks/main.yml b/roles/ethtool/tasks/main.yml
index f92d052e..c9c67648 100644
--- a/roles/ethtool/tasks/main.yml
+++ b/roles/ethtool/tasks/main.yml
@@ -26,17 +26,3 @@
# WoL service fails in containers — ethtool_wol_interface does not exist
- "molecule-notest"
-- name: "Ensure /etc/systemd/logind.conf.d exists"
- become: true
- ansible.builtin.file:
- path: "/etc/systemd/logind.conf.d"
- state: "directory"
- mode: "0755"
-
-- name: "Configure lid switch on AC power"
- become: true
- ansible.builtin.template:
- src: "logind.conf.j2"
- dest: "/etc/systemd/logind.conf.d/wol.conf"
- mode: "0644"
- notify: "Reload systemd-logind"