frr: use service module for reloading

This commit is contained in:
Timotej Lazar 2024-09-10 16:44:21 +02:00
parent 13009283c0
commit d89ed5a46b

View file

@ -1,5 +1,7 @@
- name: reload frr
command: /usr/lib/frr/frr-reload.py --reload /etc/frr/frr.conf
service:
name: frr
state: reloaded
when: "'handler' not in ansible_skip_tags"
- name: restart frr