servers/roles/debian/handlers/main.yml

15 lines
272 B
YAML

- name: reboot
reboot:
- name: reload interfaces
command: ifreload -a
- name: reload frr
command: /usr/lib/frr/frr-reload.py --reload /etc/frr/frr.conf
- name: restart frr
service: name=frr state=restarted
- name: update package cache
apt: update_cache=true