ansible-role-openbsd-carp/templates/hostname.carp.j2

8 lines
272 B
Django/Jinja

inet {{ carp.ip | ipaddr('address') }} {{ carp.ip | ipaddr('netmask') }} {{ carp.ip | ipaddr('broadcast') }}
vhid {{ carp.vhid }}
carpdev {{ carp.interface }}
pass "{{ carp.password }}"
{% if carp.description is defined %}
description "{{ carp.description }}"
{% endif %}