mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Integration of freezer to services. See https://chat.openai.com/share/c9f5587b-0a60-4005-9329-e53754e3fcfa
This commit is contained in:
@@ -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:
|
||||
|
@@ -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(",") }}'
|
@@ -1 +0,0 @@
|
||||
freezer_script: "{{path_administrator_scripts}}system-maintenance-service-freezer.py"
|
Reference in New Issue
Block a user