You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.yml 497B

8 years ago
8 years ago
8 years ago
7 years ago
7 years ago
8 years ago
8 years ago
123456789101112131415161718192021222324
  1. ---
  2. - include: regenerate.yml
  3. when:
  4. ssh_host_key_state is defined
  5. and ssh_host_key_state == 'regenerated'
  6. - include: scan.yml
  7. when:
  8. ssh_host_key_state is defined
  9. and ssh_host_key_state == 'scanned'
  10. - include: setup.yml
  11. when:
  12. ssh_host_key_state is defined
  13. and ssh_host_key_state == 'setup'
  14. - include: fetch.yml
  15. when:
  16. not ssh_host_key_state is defined
  17. or ( ssh_host_key_state == 'fetched'
  18. or ssh_host_key_state == 'regenerated' )
  19. - include: save.yml