Files
salt-states/ssh/files/authorized_keys.jinja

7 lines
205 B
Django/Jinja

# Managed by Salt
{% set comments = pillar['authorized_keys'].keys()|sort -%}
{% for comment in comments -%}
{% set keydata = pillar['authorized_keys'][comment] -%}
{{keydata}} {{comment}}
{% endfor -%}