role service-fastd-backbone + service-bird: add tag sync-peers
to only refresh backbone peers
This commit is contained in:
parent
da9ab1430c
commit
15d2c171c5
3 changed files with 10 additions and 0 deletions
|
@ -38,6 +38,7 @@
|
|||
mode: 0640
|
||||
owner: bird
|
||||
group: bird
|
||||
tags: sync-peers
|
||||
notify: reload systemd unit bird
|
||||
|
||||
- name: write mwu_ipv6_peers.conf
|
||||
|
@ -47,6 +48,7 @@
|
|||
mode: 0640
|
||||
owner: bird
|
||||
group: bird
|
||||
tags: sync-peers
|
||||
notify: reload systemd unit bird6
|
||||
|
||||
- name: enable + start systemd units bird + bird6
|
||||
|
|
|
@ -4,3 +4,9 @@
|
|||
name: "fastd@{{ item.0.id }}igvpn-{{ item.1.mtu }}"
|
||||
state: restarted
|
||||
loop: "{{ meshes | subelements('fastd.backbone.instances') }}"
|
||||
|
||||
- name: reload fastd backbone instances
|
||||
systemd:
|
||||
name: "fastd@{{ item.0.id }}igvpn-{{ item.1.mtu }}"
|
||||
state: reloaded
|
||||
loop: "{{ meshes | subelements('fastd.backbone.instances') }}"
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
dest: "/etc/fastd/{{ item.0.id }}igvpn-{{ item.1.mtu }}/peers"
|
||||
version: "{{ item.1.peers.version }}"
|
||||
update: yes
|
||||
tags: sync-peers
|
||||
notify: reload fastd backbone instances
|
||||
loop: "{{ meshes | subelements('fastd.backbone.instances') }}"
|
||||
become: false
|
||||
|
||||
|
|
Loading…
Reference in a new issue