Commit fb5ff877 by John Jarvis

fixing template syntax

parent de2eaa9c
{% for user in user_info -%}
{% if 'sudo_cmds' in user_info[user] -%}
{% for cmd in user_info[user]['sudo_cmds'] -%}
{{ user }} {{ cmd }}
{% if 'sudo_cmds' in user -%}
{% for cmd in user['sudo_cmds'] -%}
{{ user['name'] }} {{ cmd }}
{% endfor %}
{% endif %}
{% endfor %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment