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
Replaced legacy patches with a single logrotate reload command. Enhanced logrotate configuration to dynamically handle multiple files and include improved settings and notifications.
20 lines
444 B
YAML
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 |