mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Remove old roles and fix idempotency issues
This commit is contained in:
parent
f468fd3e34
commit
92be60ad51
85 changed files with 38 additions and 5890 deletions
|
|
@ -1,24 +1,11 @@
|
|||
global_defs {
|
||||
{% if ansible_tun0 is defined %}
|
||||
default_interface tun0
|
||||
{% else %}
|
||||
default_interface eth0
|
||||
{% endif %}
|
||||
default_interface {{vpn_interface}}
|
||||
}
|
||||
|
||||
vrrp_instance VI_1 {
|
||||
{% if ansible_tun0 is defined %}
|
||||
interface tun0
|
||||
{% else %}
|
||||
interface eth0
|
||||
{% endif %}
|
||||
|
||||
interface {{vpn_interface}}
|
||||
track_interface {
|
||||
{% if ansible_tun0 is defined %}
|
||||
tun0
|
||||
{% else %}
|
||||
eth0
|
||||
{% endif %}
|
||||
{{vpn_interface}}
|
||||
}
|
||||
|
||||
{% if inventory_hostname == initial_master %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue