keepalived: set keepalived_main
This commit is contained in:
parent
8ec059ce55
commit
0a621b53b4
1 changed files with 7 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
||||||
- 100.64.0.129/27
|
- 100.64.0.129/27
|
||||||
- 2a09:6841:0:400::1/56
|
- 2a09:6841:0:400::1/56
|
||||||
- fe80::1/10
|
- fe80::1/10
|
||||||
|
keepalived__main: "{{ inventory_hostname_short == 'isp-1' }}"
|
||||||
roles:
|
roles:
|
||||||
- keepalived
|
- keepalived
|
||||||
|
|
||||||
|
@ -49,6 +50,7 @@
|
||||||
- 83.167.52.69/31
|
- 83.167.52.69/31
|
||||||
- 2001:1b48:2:103::d7:2/126
|
- 2001:1b48:2:103::d7:2/126
|
||||||
- fe80::1/10
|
- fe80::1/10
|
||||||
|
keepalived__main: "{{ inventory_hostname_short == 'edge-1' }}"
|
||||||
roles:
|
roles:
|
||||||
- keepalived
|
- keepalived
|
||||||
|
|
||||||
|
@ -87,6 +89,11 @@
|
||||||
- 10.210.0.1/16
|
- 10.210.0.1/16
|
||||||
- 2a09:6840:210::1/56
|
- 2a09:6840:210::1/56
|
||||||
- fe80::1/10
|
- fe80::1/10
|
||||||
|
enp2s4:
|
||||||
|
- 10.211.0.1/16
|
||||||
|
- 2a09:6840:211::1/56
|
||||||
|
- fe80::1/10
|
||||||
|
keepalived__main: "{{ inventory_hostname_short == 'infra-1' }}"
|
||||||
roles:
|
roles:
|
||||||
- keepalived
|
- keepalived
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue