servers/roles/proxmox-backup/handlers/main.yml

19 lines
393 B
YAML
Raw Normal View History

2024-09-10 12:13:24 +00:00
- name: reboot
reboot:
when: "'handler' not in ansible_skip_tags"
- name: reload interfaces
command: ifreload -a
when: "'handler' not in ansible_skip_tags"
- name: update package cache
package:
update_cache: yes
when: "'handler' not in ansible_skip_tags"
2024-09-10 12:53:46 +00:00
- name: reload nftables
service:
name: nftables
state: reloaded
when: "'handler' not in ansible_skip_tags"