computer-playbook/roles/system-maintenance-service-freezer
2023-12-16 12:22:31 +01:00
..
files Removed headlock(hopefully) 2023-12-15 15:27:09 +01:00
handlers Added handlers for freezer 2023-12-14 21:38:18 +01:00
meta Implemented role System Maintenance Service Freezer 2023-12-13 19:02:07 +01:00
tasks Solved more freezer bugs 2023-12-14 21:12:25 +01:00
templates Removed headlock(hopefully) 2023-12-15 15:27:09 +01:00
README.md Changed backup logic 2023-12-16 12:22:31 +01:00

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.