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

infra_install.sls 643B

12345678910111213141516171819202122232425262728293031323334
  1. linux_state_all_nodes:
  2. salt.state:
  3. - tgt: 'linux:system'
  4. - tgt_type: pillar
  5. - sls: linux
  6. - queue: True
  7. salt_state_all_nodes:
  8. salt.state:
  9. - tgt: 'salt:minion'
  10. - tgt_type: pillar
  11. - sls: salt.minion
  12. - queue: True
  13. - require:
  14. - salt: linux_state_all_nodes
  15. openssh_state_all_nodes:
  16. salt.state:
  17. - tgt: 'openssh:server'
  18. - tgt_type: pillar
  19. - sls: openssh
  20. - queue: True
  21. - require:
  22. - salt: salt_state_all_nodes
  23. ntp_state_all_nodes:
  24. salt.state:
  25. - tgt: 'ntp:client'
  26. - tgt_type: pillar
  27. - sls: ntp
  28. - queue: True
  29. - require:
  30. - salt: salt_state_all_nodes