Files
ansible_role_proxmox_provision/handlers/main.yml
Jose 432ec97292
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 13s
Gitleaks Scan / gitleaks (push) Successful in 5s
Markdown Lint / markdown-lint (push) Successful in 6s
chore 📦: Update build scripts for CI/CD pipeline
Updated the build scripts to ensure compatibility with the latest version of the CI/CD tooling and improved the deployment process.
2026-02-24 18:47:08 +01:00

43 lines
842 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: 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
- name: Reload systemd
ansible.builtin.systemd:
daemon_reload: true
- name: Restart fail2ban
ansible.builtin.systemd:
name: fail2ban
state: restarted
- name: Reload pve firewall
ansible.builtin.command: pve-firewall reload
changed_when: false