Commit fb5ff877 by John Jarvis

fixing template syntax

parent de2eaa9c
{% for user in user_info -%} {% for user in user_info -%}
{% if 'sudo_cmds' in user_info[user] -%} {% if 'sudo_cmds' in user -%}
{% for cmd in user_info[user]['sudo_cmds'] -%} {% for cmd in user['sudo_cmds'] -%}
{{ user }} {{ cmd }} {{ user['name'] }} {{ cmd }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% endfor %} {% 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