mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-26 12:05:09 +01:00
.. | ||
files | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
README.md |
System Maintenance Service Freezer
Overview
This Ansible role is designed to manage system services through freezing (disabling) and defrosting (enabling) actions. It automates the process of managing crucial system services, especially useful for maintenance tasks like backups, cleanups, and updates.
Monitoring
To monitor the sucess of the script and the status of systemctl timers execute:
watch -n 2 systemctl list-timers
Role Variables
system_maintenance_services
: List of services to be managed by this role.
Usage
Configure the role by defining the required variables. The role creates systemd service files that control the specified services based on the freeze
or defrost
actions.
For further details and usage examples, refer to the chat conversation with ChatGPT: Link to ChatGPT Conversation.
Dependencies
systemd-notifier
: Ensure this role is present for handling service failures.