salt-formula/salt/files/roster.jinja

13 lines
295 B
Plaintext
Raw Normal View History

#
# This file is managed by Salt! Do not edit by hand!
#
{%- set roster = salt['pillar.get']('salt:ssh_roster') -%}
{%- if roster %}
{%- for host, options in roster.items() %}
{{ host }}:
{%- for k, v in options.items() %}
{{ k }}: {{ v }}
{%- endfor %}
{% endfor %}
{%- endif -%}