---

- name: "Include custom vars for ci job: {{ ci_job_name }}"
  include_vars: "../files/{{ ci_job_name }}.yml"

- name: Cleamup old VMs
  import_tasks: cleanup-old-vms.yml

- name: Create VMs
  import_tasks: create-vms.yml
  when:
    - not vm_cleanup

- name: Delete VMs
  import_tasks: delete-vms.yml
  when:
    - vm_cleanup | default(false)
