Files
ansible_role_proxmox_provision/handlers/main.yml
Jose 3c88ce811e refactor ♻️: Refactor service reload command to use systemd_service
Updated the service reload command to utilize the `systemd_service` module, enhancing compatibility and maintainability.
2026-02-07 09:20:20 +01:00

17 lines
338 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