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
|
- 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:
|
||||||
|
|
Loading…
Reference in a new issue