This repository has been archived on 2024-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-role-fastd/templates/fastd.conf.j2

20 lines
501 B
Plaintext
Raw Normal View History

2021-04-11 22:34:52 +00:00
secret "{{ profile.value.private_key }}";
2021-06-05 16:57:05 +00:00
log level {{ profile.value.log_level |d("info") }};
2021-04-11 22:34:52 +00:00
interface "{{ profile.value.interface |d('fastd-%s' |format(profile.key)) }}";
mode {{ profile.value.mode |d("tap") }};
mtu {{ profile.value.mtu |d("1280") }};
{% for method in profile.value.methods |d(['null']) %}
method "{{ method }}";
{% endfor %}
2021-06-05 16:57:05 +00:00
bind {{ profile.value.bind |d('any:10061') }};
2021-04-11 22:34:52 +00:00
{% if not (profile.value.verify |d(True)) %}
on verify "true";
{% endif %}
include peers from "peers";
2021-06-05 16:57:05 +00:00