Oops. Also do it for proxmox-backup role even though SSH in default VRF is disabled there, so it will be easier to deduplicate these roles when someone gets around to it.
14 lines
277 B
YAML
14 lines
277 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 sshd
|
|
service:
|
|
name: sshd
|
|
state: reloaded
|
|
when: "'handler' not in ansible_skip_tags"
|