ansible-role-unix-users/templates/authorized_keys.j2
Markus Pesch 26e57d7b6f
All checks were successful
continuous-integration/drone/push Build is passing
fix: config ssh client config
2022-07-19 17:54:56 +02:00

8 lines
174 B
Django/Jinja

#jinja2: lstrip_blocks: True
#
# {{ ansible_managed }}
#
{% for key in unix_user.value.ssh.authorized_keys %}
{{ lookup('file', 'ssh/authorized_keys/' + key) }}
{% endfor %}