servers/roles/proxmox/handlers/main.yml
Timotej Lazar e5b570ddad proxmox: disable password SSH authentication
Apparently it’s not needed for cluster operations.
2024-12-13 14:49:44 +01:00

25 lines
503 B
YAML

- name: reboot
reboot:
when: "'handler' not in ansible_skip_tags"
- name: reload interfaces
command: ifreload -a
when: "'handler' not in ansible_skip_tags"
- name: reload postfix
service:
name: postfix
state: reloaded
when: "'handler' not in ansible_skip_tags"
- name: reload sshd
service:
name: sshd
state: reloaded
when: "'handler' not in ansible_skip_tags"
- name: update package cache
package:
update_cache: yes
when: "'handler' not in ansible_skip_tags"