This commit is contained in:
2023-12-13 19:36:06 +01:00
parent f03fbd7c07
commit 9ba58f82c1
11 changed files with 26 additions and 12 deletions

View File

@@ -1,8 +1,8 @@
---
- name: create {{freezer_script}}
- name: create {{path_system_maintenance_service_freezer_script}}
copy:
src: system-maintenance-service-freezer.py
dest: "{{freezer_script}}"
dest: "{{path_system_maintenance_service_freezer_script}}"
- name: Configure system-maintenance-service for each action
loop:

View File

@@ -4,4 +4,4 @@ OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
ExecStart=/bin/sh -c '/usr/bin/python {{ freezer_script }} {{item}} {{ system_maintenance_services | join(",") }}'
ExecStart=/bin/sh -c '/usr/bin/python {{ path_system_maintenance_service_freezer_script }} {{item}} {{ system_maintenance_services | join(",") }}'

View File

@@ -1 +0,0 @@
freezer_script: "{{path_administrator_scripts}}system-maintenance-service-freezer.py"