firewall: use a handler to reboot

This commit is contained in:
Timotej Lazar 2024-05-19 10:09:37 +02:00
parent 0e9dac6985
commit 668af8bdb6
2 changed files with 8 additions and 14 deletions

View file

@ -6,6 +6,10 @@
command: mkinitfs
when: "'handler' not in ansible_skip_tags"
- name: reboot
reboot:
when: "'handler' not in ansible_skip_tags"
- name: reload frr
command: /usr/lib/frr/frr-reload.py --reload /etc/frr/frr.conf
when: "'handler' not in ansible_skip_tags"