From 31ab4af71809028695e747cc717dae0e45a21e8e Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 9 Jul 2026 23:20:14 +0200 Subject: Extract logind lid configuration into it's own role --- roles/ethtool/tasks/main.yml | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'roles/ethtool/tasks') 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" -- cgit v1.2.3