Fixed password lookup for "auth_pass"

This commit is contained in:
Sven Velt 2021-12-08 19:32:16 +00:00
parent 20e50b4128
commit 26a0602022

View file

@ -37,7 +37,7 @@ vrrp_instance {{ keepalived_instance_name|default('VI_1') }} {
advert_int {{ keepalived_advert_int|default(1) }}
authentication {
auth_type PASS
auth_pass {{ keepalived_auth_pass|default(lookup('password'), './.keepalived.pw') }}
auth_pass {{ keepalived_auth_pass|default(lookup('password', './.keepalived.pw length=8')) }}
}
virtual_ipaddress {