[keepalived] Crans configuration

certbot_on_virtu
_shirenn 2020-08-07 17:31:02 +02:00
parent ea0d140a66
commit dfa8f6059b
10 changed files with 68 additions and 53 deletions

View File

@ -1,10 +1,15 @@
---
keepalived:
glob_keepalived:
mail_source: keepalived@crans.org
mail_destination: root@crans.org
smtp_server: smtp.adm.crans.org
pool:
dhcp:
password: "plopisverysecure"
id: 60
ipv6: no
notify: /usr/scripts/notify-dhcp
zones:
- vlan: adh-nat
ipv4: 100.64.0.99/16

View File

@ -3,7 +3,8 @@ interfaces:
adm: eth0
srv: eth1
keepalived_instances:
lco_keepalived:
instances:
- name: proxy
tag: VI_DAUR
state: MASTER

View File

@ -5,7 +5,8 @@ interfaces:
bornes: eth1
switches: eth2
keepalived_instances:
loc_keepalived:
instances:
- name: radius
tag: VI_RAD
state: BACKUP

View File

@ -3,7 +3,8 @@ interfaces:
adm: eth1
srv: eth0
keepalived_instances:
loc_keepalived:
instances:
- name: proxy
tag: VI_DAUR
state: BACKUP

View File

@ -7,7 +7,8 @@ interfaces:
wifi_new: ens1f0.22
zayo: ens1f0.26
keepalived_instances:
loc_keepalived:
instances:
- name: router
tag: VI_ROUT
state: MASTER

View File

@ -10,7 +10,8 @@ interfaces:
srv: ens1f0.24
zayo: ens1f0.26
keepalived_instances:
loc_keepalived:
instances:
- name: radius
tag: VI_RAD
state: BACKUP

View File

@ -5,7 +5,8 @@ interfaces:
bornes: eth1
switches: eth2
keepalived_instances:
loc_keepalived:
instances:
- name: radius
tag: VI_RAD
state: MASTER

View File

@ -8,7 +8,8 @@ interfaces:
adh-nat: ens23
keepalived_instances:
loc_keepalived:
instances:
- name: dhcp
tag: VI_DHCP
state: BACKUP

View File

@ -8,7 +8,8 @@ interfaces:
adh-nat: ens23
keepalived_instances:
loc_keepalived:
instances:
- name: dhcp
tag: VI_DHCP
state: MASTER

View File

@ -1,5 +1,7 @@
#!/usr/bin/env ansible-playbook
---
- hosts: keepalived
vars:
keepalived: "{{ glob_keepalived | combine(loc_keepalived) }}"
roles:
- keepalived