From 5407839724a3ada30b0d302952783da748ea4825 Mon Sep 17 00:00:00 2001 From: Frank Villaro-Dixon Date: Thu, 20 Jun 2024 12:06:30 +0200 Subject: [PATCH] check bgp is working great Signed-off-by: Frank Villaro-Dixon --- ansible/configure-server.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ansible/configure-server.yml b/ansible/configure-server.yml index eb516e9..0a86059 100644 --- a/ansible/configure-server.yml +++ b/ansible/configure-server.yml @@ -158,6 +158,9 @@ - hosts: all tags: bgp tasks: + - name: gather facts + setup: + tags: check - name: install FRR package: name: frr @@ -225,6 +228,12 @@ enabled: yes 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: - name: restart frr systemd: