Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

main.yml 1022B

8 lat temu
7 lat temu
7 lat temu
8 lat temu
7 lat temu
7 lat temu
7 lat temu
8 lat temu
7 lat temu
8 lat temu
7 lat temu
8 lat temu
7 lat temu
7 lat temu
7 lat temu
123456789101112131415161718192021222324252627282930313233343536
  1. ---
  2. - import_tasks: regenerate.yml
  3. when: ssh_host_key_state == 'regenerated'
  4. - import_tasks: scan.yml
  5. when: ssh_host_key_state == 'scanned'
  6. - import_tasks: setup.yml
  7. when:
  8. - ssh_host_key_state == 'configured'
  9. - ansible_ssh_host_key_ed25519_public is defined
  10. - import_tasks: 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. - import_tasks: 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. - import_tasks: local.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'
  30. - ssh_update_local_known_hosts_file