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

36 行
943B

  1. ---
  2. - include: regenerate.yml
  3. when: ssh_host_key_state == 'regenerated'
  4. - include: scan.yml
  5. when: ssh_host_key_state == 'scanned'
  6. - include: setup.yml
  7. when:
  8. - ssh_host_key_state == 'configured'
  9. - ansible_ssh_host_key_ed25519_public is defined
  10. - include: fetch.yml
  11. when:
  12. - ssh_host_key_state == 'configured' or
  13. ssh_host_key_state == 'fetched' or
  14. ssh_host_key_state == 'regenerated'
  15. - ssh_host_key_state == 'configured'
  16. and not ansible_ssh_host_key_ed25519_public is defined
  17. or not ssh_host_key_state == 'configured'
  18. - include: save.yml
  19. when:
  20. ssh_host_key_state == 'configured' or
  21. ssh_host_key_state == 'scanned' or
  22. ssh_host_key_state == 'regenerated' or
  23. ssh_host_key_state == 'fetched'
  24. - include: file.yml
  25. when:
  26. ssh_host_key_state == 'configured' or
  27. ssh_host_key_state == 'scanned' or
  28. ssh_host_key_state == 'regenerated' or
  29. ssh_host_key_state == 'saved'