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

17 行
400B

  1. {% from "openssh/map.jinja" import openssh with context %}
  2. ensure dig is available:
  3. pkg.installed:
  4. - name: {{ openssh.dig_pkg }}
  5. manage ssh_known_hosts file:
  6. file.managed:
  7. - name: {{ openssh.ssh_known_hosts }}
  8. - source: salt://openssh/files/ssh_known_hosts
  9. - template: jinja
  10. - user: root
  11. - group: root
  12. - mode: 644
  13. - require:
  14. - pkg: ensure dig is available