Files
ansible_role_proxmox_provision/handlers/main.yml
Jose 83febca09a
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 12s
Gitleaks Scan / gitleaks (push) Successful in 4s
Markdown Lint / markdown-lint (push) Successful in 5s
refactor ♻️: Refactor task structure and update configuration method in ram.yml
This commit refactors the task structure in `ram.yml` and updates the configuration method to improve readability and maintainability.
2026-02-15 09:27:03 +01:00

34 lines
659 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: Restart logrotate
ansible.builtin.service:
name: logrotate
state: restarted
become: true
- name: Restart log2ram
ansible.builtin.systemd:
name: log2ram
state: restarted
enabled: yes
- name: Restart journald
ansible.builtin.systemd:
name: systemd-journald
state: restarted