main.yml 721 B

1234567891011121314151617181920212223242526
  1. ---
  2. # Main tasks file
  3. ##########################################
  4. # Parse user-provided VM(s) specifications
  5. - import_tasks: get_user_vm_defs.yml
  6. # Authenticate against Nutanix Prism Central/Element and store session cookies
  7. - import_tasks: get_session_cookie.yml
  8. # Obtain a list of Nutanix cluster names and UUIDs
  9. - import_tasks: list_cluster_uuids.yml
  10. # Obtain a list of image names and UUIDs
  11. - import_tasks: list_image_uuids.yml
  12. # Obtain a list of network/subnet names and UUIDs
  13. - import_tasks: list_subnet_uuids.yml
  14. # Update VM specifications with Nutanix UUIDs
  15. - import_tasks: update_vm_defs.yml
  16. # Create VM(s)
  17. - import_tasks: create_vm.yml
  18. # Update Nutanix Guest Tools on VM(s)
  19. - import_tasks: update_ngt.yml