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

14 lines
283 B
Plaintext
Raw Normal View History

2022-07-19 15:54:56 +00:00
#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 %}