Sort list of users

main
Daniel Ankers 2024-01-19 10:18:35 +00:00
parent 8db92eef18
commit e9170ef741
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ system {
class sysadmin {
permissions [ admin clear configure control firewall-control interface interface-control network reset rollback routing routing-control snmp snmp-control trace-control view view-configuration ];
}
{% for user, details in device['config_context']['users'].items() %}
{% for user, details in device['config_context']['users']|dictsort %}
user {{ user }} {
uid 200{{ loop.index }};
class {{ details['role'] }};