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

29 行
696B

  1. {% if data.data.orch_pre_create is defined %}
  2. orchestrate_node_key_pre_create:
  3. runner.state.orchestrate:
  4. - mods: {{ data.data.orch_pre_create }}
  5. - queue: True
  6. - pillar: {{ data.data.get('orch_pre_create_pillar', {}) }}
  7. {% endif %}
  8. node_key_create:
  9. runner.state.orchestrate:
  10. - mods: salt.orchestrate.reactor.key_create
  11. - queue: True
  12. - pillar:
  13. node_id: {{ data.data['node_id'] }}
  14. node_host: {{ data.data['node_host'] }}
  15. {% if data.data.orch_post_create is defined %}
  16. orchestrate_node_key_post_create:
  17. runner.state.orchestrate:
  18. - mods: {{ data.data.orch_post_create }}
  19. - queue: True
  20. - pillar: {{ data.data.get('orch_post_create_pillar', {}) }}
  21. {% endif %}