Gestion de la clef radius dans la conf des switchs
This commit is contained in:
parent
aca5269405
commit
1490d59eba
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ radius-server dead-time 2
|
||||||
{%- for server in additionals.radius_servers %}
|
{%- for server in additionals.radius_servers %}
|
||||||
{%- for interface in server.interface %}
|
{%- for interface in server.interface %}
|
||||||
{%- if switch.subnet.0.vlan_id == interface.vlan_id %}
|
{%- if switch.subnet.0.vlan_id == interface.vlan_id %}
|
||||||
radius-server host {{ interface.ipv4 }} key "plop"
|
radius-server host {{ interface.ipv4 }} key "{{ switch.get_radius_key_value }}"
|
||||||
radius-server host {{ interface.ipv4 }} dyn-authorization
|
radius-server host {{ interface.ipv4 }} dyn-authorization
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
Loading…
Reference in a new issue