Files
ansible_role_proxmox_provision/handlers/main.yml
Jose 4a02a41d43
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 8s
Gitleaks Scan / gitleaks (push) Successful in 6s
Markdown Lint / markdown-lint (push) Successful in 5s
ai-reviews / Review PR (pull_request) Successful in 43s
ansible-lint / Ansible Lint (pull_request) Failing after 6s
Gitleaks Scan / gitleaks (pull_request) Successful in 4s
Markdown Lint / markdown-lint (pull_request) Successful in 5s
refactor ♻️: Refactor logrotate configuration for dynamic handling of multiple files
Replaced legacy patches with a single logrotate reload command. Enhanced logrotate configuration to dynamically handle multiple files and include improved settings and notifications.
2026-02-08 19:42:44 +01:00

20 lines
444 B
YAML

---
# ansible_role_proxmox_provision/handlers/main.yml
# Handlers for role
# ==================
- name: Run apt update
ansible.builtin.apt:
update_cache: yes
- name: Restart pveproxy
ansible.builtin.systemd:
name: pveproxy
state: restarted
- name: Reload systemd
ansible.builtin.systemd_service:
daemon_reexec: true
- name: logrotate reload
ansible.builtin.command: logrotate /etc/logrotate.conf
changed_when: false