launch.yml 743 B

1234567891011121314151617181920212223242526272829
  1. ---
  2. - name: Launch instance(s)
  3. hosts: localhost
  4. connection: local
  5. gather_facts: no
  6. vars_files:
  7. - vars.yml
  8. tasks:
  9. - fail:
  10. msg: Deployment type not supported for libvirt provider yet
  11. when: deployment_type == 'enterprise'
  12. - include: ../../common/openshift-cluster/set_master_launch_facts_tasks.yml
  13. - include: tasks/launch_instances.yml
  14. vars:
  15. instances: "{{ master_names }}"
  16. cluster: "{{ cluster_id }}"
  17. type: "{{ k8s_type }}"
  18. - include: ../../common/openshift-cluster/set_node_launch_facts_tasks.yml
  19. - include: tasks/launch_instances.yml
  20. vars:
  21. instances: "{{ node_names }}"
  22. cluster: "{{ cluster_id }}"
  23. type: "{{ k8s_type }}"
  24. - include: update.yml
  25. - include: list.yml