[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: dhcp:
password: "plopisverysecure" password: "plopisverysecure"
id: 60 id: 60
ipv6: no ipv6: no
notify: /usr/scripts/notify-dhcp
zones: zones:
- vlan: adh-nat - vlan: adh-nat
ipv4: 100.64.0.99/16 ipv4: 100.64.0.99/16

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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