Merge branch 'keepalived' into 'newinfra'

[keepalived] Add IPv6

See merge request nounous/ansible!67
certbot_on_virtu
_benjamin 2020-08-20 18:25:07 +02:00
commit 30557b3776
2 changed files with 7 additions and 4 deletions

View File

@ -8,20 +8,23 @@ glob_keepalived:
dhcp: dhcp:
password: "plopisverysecure" password: "plopisverysecure"
id: 60 id: 60
ipv6: no ipv6: yes
notify: /usr/scripts/notify-dhcp notify: /usr/scripts/notify-dhcp
zones: zones:
- vlan: adh - vlan: adh
ipv4: 185.230.78.99/24 ipv4: 185.230.78.99/24
brd: true brd: true
- vlan: adh-nat ipv6: 2a0c:700:12::ff:fe00:9912/48
- vlan: adh_nat
ipv4: 100.64.0.99/16 ipv4: 100.64.0.99/16
brd: true brd: true
ipv6: 2a0c:700:13::ff:fe00:9913/48
radius: radius:
password: 'plopisverysecure' password: 'plopisverysecure'
id: 61 id: 61
ipv6: no ipv6: yes
zones: zones:
- vlan: infra - vlan: infra
ipv4: 172.16.32.99/22 ipv4: 172.16.32.99/22
brd: true brd: true
ipv6: fd00::11:0:ff:fe00:9911/64

View File

@ -41,7 +41,7 @@ vrrp_instance {{ instance.tag }}6 {
priority {{ instance.priority }} priority {{ instance.priority }}
smtp_alert smtp_alert
interface {{ keepalived.pool[instance.name].administration }} interface {{ interfaces.adm }}
virtual_router_id {{ keepalived.pool[instance.name].id }} virtual_router_id {{ keepalived.pool[instance.name].id }}
advert_int 2 advert_int 2
authentication { authentication {