This role uses https://github.com/Exa-Networks/exabgp and can be configured to use health checks if required.
sudo ansible-galaxy install hybridadmin.exabgp
local_as
: [required]: ASN of exabgp instanceremote_as
: [required]: Peering ASNbgp_neighbors
: [required]: List of bgp neighbors to advertise prefixes tocommunity_list
: [optional]: Communities to be used when advertising prefixesanycast_procs
: [optional]: List of anycast cidrs to be advertised via bgp
local_as: 65340
remote_as: 65359
bgp_neighbors:
- { ip: 10.220.50.10, desc: "cr2" }
community_list: "65359:500 65359:5000"
anycast_procs:
- name: dns1v4
cidr: 192.168.59.188/32
- name: dns2v4
cidr: 192.168.59.189/32
hybridadmin