iterate order; common; salt configs
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
# Managed by Salt
|
||||
{% for comment, keydata in pillar['authorized_keys'].items() -%}
|
||||
{% set comments = pillar['authorized_keys'].keys()|sort -%}
|
||||
{% for comment in comments -%}
|
||||
{% set keydata = pillar['authorized_keys'][comment] -%}
|
||||
{{keydata}} {{comment}}
|
||||
{% endfor -%}
|
||||
|
||||
Reference in New Issue
Block a user