{{ 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 %}