ansible-role-unix-users/templates/config.j2

14 lines
283 B
Django/Jinja

#jinja2: lstrip_blocks: True
#
# {{ ansible_managed }}
#
{% for config in unix_user.value.ssh.config %}
{% for property, value in config.items() %}
{% if property == "Host" %}
{{ property }} {{ value }}
{% else %}
{{ property }} = {{ value }}
{% endif %}
{% endfor %}
{% endfor %}