From 42c8f3dd27d3c2bc7da958de11e3fb10bb5b082c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 22 Aug 2023 20:45:35 +0200 Subject: linux_status: disable power management before starting the service --- roles/linux_status/handlers/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 roles/linux_status/handlers/main.yml (limited to 'roles/linux_status/handlers') diff --git a/roles/linux_status/handlers/main.yml b/roles/linux_status/handlers/main.yml new file mode 100644 index 0000000..0ea529f --- /dev/null +++ b/roles/linux_status/handlers/main.yml @@ -0,0 +1,7 @@ +- name: Restart linux-status + become: true + ansible.builtin.systemd_service: + daemon_reload: true + name: linux-status + state: restarted + listen: linux_status_restart -- cgit v1.2.3