ansible/roles/freeradius/templates/clients.conf.j2
2023-06-25 00:27:08 +02:00

18 lines
408 B
Django/Jinja

{{ ansible_managed | comment }}
{% for name, client in radiusd__clients.items() %}
client {{ name }} {
ipaddr = {{ client.addr }}
shortname = {{ name }}
proto = *
require_message_authenticator = yes
nastype = other
secret = {{ client.secret }}
{% if client.type is defined %}
{% if client.type == "aurore" %}
virtual_server = outer-aurore
{% endif %}
{% endif %}
}
{% endfor %}