New version of salt-formula from Saltstack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 8 година
пре 8 година
пре 8 година
пре 8 година
12345678910111213141516171819
  1. {%- from "salt/map.jinja" import master with context %}
  2. {%- for minion_name, minion in master.ssh.get('minion', {}).iteritems() %}
  3. {{ minion_name }}:
  4. host: {{ minion.host }}
  5. user: {{ minion.user }}
  6. {%- if minion.password is defined %}
  7. passwd: {{ minion.password }}
  8. {%- endif %}
  9. {%- if minion.key_file is defined %}
  10. priv: {{ minion.key_file }}
  11. {%- endif %}
  12. {%- if minion.get('sudo', False) %}
  13. sudo: True
  14. tty: True
  15. {%- endif %}
  16. {%- endfor %}
  17. {#-
  18. vim: syntax=jinja
  19. -#}