frr: use service module for reloading
This commit is contained in:
parent
13009283c0
commit
d89ed5a46b
|
@ -1,5 +1,7 @@
|
||||||
- name: reload frr
|
- 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"
|
when: "'handler' not in ansible_skip_tags"
|
||||||
|
|
||||||
- name: restart frr
|
- name: restart frr
|
||||||
|
|
Loading…
Reference in a new issue