mirror of
https://gitea.0xace.cc/ansible-galaxy/bird.git
synced 2024-11-24 23:56:38 +00:00
23 lines
455 B
YAML
23 lines
455 B
YAML
---
|
|
- name: Restart bird
|
|
systemd:
|
|
name: "{{ bird_unit_name }}"
|
|
state: restarted
|
|
daemon_reload: yes
|
|
when:
|
|
- not bird_setup.changed
|
|
- not bird_enable_and_start.changed
|
|
|
|
- name: Reload bird
|
|
systemd:
|
|
name: "{{ bird_unit_name }}"
|
|
state: reloaded
|
|
daemon_reload: yes
|
|
|
|
- name: Restart loopback
|
|
shell: |
|
|
ifdown lo ; ifup lo
|
|
|
|
- name: Reload dummy interface with nmcli
|
|
command: nmcli conn up {{ bird_network_nm_iface }}
|