mirror of
https://gitea.0xace.cc/ansible-galaxy/bird.git
synced 2025-01-18 20:12:20 +00:00
fix
This commit is contained in:
parent
da68b600dd
commit
059e9a9c7d
@ -16,4 +16,4 @@
|
|||||||
ifdown lo ; ifup lo
|
ifdown lo ; ifup lo
|
||||||
|
|
||||||
- name: Reload dummy interface
|
- name: Reload dummy interface
|
||||||
command: nmcli conn up lo0
|
command: nmcli conn up {{ dummy_iface | default('dummy0') }}
|
||||||
|
@ -9,16 +9,16 @@
|
|||||||
src: bird.conf.j2
|
src: bird.conf.j2
|
||||||
dest: /etc/bird.conf
|
dest: /etc/bird.conf
|
||||||
notify:
|
notify:
|
||||||
- reload bird
|
- Reload bird
|
||||||
|
|
||||||
- name: Add dummy interface and add IPs
|
- name: Add dummy interface and add IPs
|
||||||
community.general.nmcli:
|
community.general.nmcli:
|
||||||
type: dummy
|
type: dummy
|
||||||
conn_name: 'lo0'
|
conn_name: "{{ dummy_iface | default('dummy0') }}"
|
||||||
ip4: '{{ item.ip4 }}'
|
ip4: '{{ item.ip4 }}'
|
||||||
state: present
|
state: present
|
||||||
notify:
|
notify:
|
||||||
- reload dummy interface
|
- Reload dummy interface
|
||||||
loop: |
|
loop: |
|
||||||
[
|
[
|
||||||
{% for protocol_static in bird.bgp.static %}
|
{% for protocol_static in bird.bgp.static %}
|
||||||
|
Loading…
Reference in New Issue
Block a user