rework bird role and add debian support

This commit is contained in:
ace
2024-05-11 03:10:14 +03:00
parent 190dee2182
commit 55cb1294ac
10 changed files with 233 additions and 48 deletions

View File

@ -1,14 +1,17 @@
---
- name: Restart BIRD
- name: Restart bird
systemd:
name: bird
name: "{{ bird_unit_name }}"
state: restarted
daemon_reload: yes
when:
- not bird_setup.changed
- not bird_enable_and_start.changed
- name: Reload BIRD
- name: Reload bird
systemd:
name: bird
state: restarted
name: "{{ bird_unit_name }}"
state: reloaded
daemon_reload: yes
- name: Restart loopback