check bgp is working great
Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
This commit is contained in:
parent
97592a0975
commit
5407839724
1 changed files with 9 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue