# ansible managed secret "{{ profile.value.private_key |mandatory('A profile required a private_key') }}"; log level {{ profile.value.log_level |d("info") }}; 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 %} {% if profile.value.bind |d(False) %} bind {{ profile.value.bind }}; {% endif %} include peers from "{{ config_dir }}/{{ profile.key }}/peers"; {% if profile.value.additional_config |d(False) %} {{ profile.value.additional_config }} {% endif %}