check bgp is working great

Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
This commit is contained in:
Frank Villaro-Dixon 2024-06-20 12:06:30 +02:00
parent 97592a0975
commit 5407839724

View file

@ -158,6 +158,9 @@
- hosts: all - hosts: all
tags: bgp tags: bgp
tasks: tasks:
- name: gather facts
setup:
tags: check
- name: install FRR - name: install FRR
package: package:
name: frr name: frr
@ -225,6 +228,12 @@
enabled: yes enabled: yes
state: started state: started
- name: Check that announces are okay
delegate_to: ikvps.k3s.fr
shell: "curl http://[{{bgp_ipv6}}] | grep 'NTP server {{ansible_hostname}}'"
tags: check
handlers: handlers:
- name: restart frr - name: restart frr
systemd: systemd: