ansible/roles/freeradius/templates/clients.conf.j2

19 lines
408 B
Text
Raw Permalink Normal View History

{{ 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 }}
2023-06-25 00:27:08 +02:00
{% if client.type is defined %}
{% if client.type == "aurore" %}
virtual_server = outer-aurore
{% endif %}
{% endif %}
}
{% endfor %}