Files
ansible_role_proxmox_provision/handlers/main.yml
Jose abdba53053
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 11s
Gitleaks Scan / gitleaks (push) Successful in 5s
Markdown Lint / markdown-lint (push) Successful in 5s
refactor ♻️: Refactor logrotate tasks for better readability and consistency - Rename 'logrotate reload' task to 'Logrotate reload' - Refactor task names in subscription.yml for better organization and clarity
This commit refactors the logrotate tasks by renaming them for better readability and consistency, and refactoring task names in `subscription.yml` for improved organization and clarity.
2026-02-09 18:20:19 +01:00

21 lines
445 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