23 lines
449 B
YAML
23 lines
449 B
YAML
- name: reload sshd
|
|
service:
|
|
name: ssh@mgmt
|
|
state: reloaded
|
|
when: "'handler' not in ansible_skip_tags"
|
|
|
|
- name: reload switchd
|
|
service:
|
|
name: switchd
|
|
state: reloaded
|
|
when: "'handler' not in ansible_skip_tags"
|
|
|
|
- name: reload interfaces
|
|
command:
|
|
cmd: ifreload -a
|
|
when: "'handler' not in ansible_skip_tags"
|
|
|
|
- name: restart frr
|
|
service:
|
|
name: frr
|
|
state: restarted
|
|
when: "'handler' not in ansible_skip_tags"
|