Saltstack Official Salt Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

14 行
365B

  1. {% from "salt/map.jinja" import salt_settings with context %}
  2. ensure salt-ssh is installed:
  3. pkg.installed:
  4. - name: {{ salt_settings.salt_ssh }}
  5. ensure roster config:
  6. file.managed:
  7. - name: {{ salt_settings.config_path }}/roster
  8. - source: salt://salt/files/roster.jinja
  9. - template: jinja
  10. - require:
  11. - pkg: ensure salt-ssh is installed