launch.yml 734 B

12345678910111213141516171819202122232425262728
  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: msg="Deployment type not supported for gce provider yet"
  10. when: deployment_type == 'enterprise'
  11. - include: ../../common/openshift-cluster/set_master_launch_facts_tasks.yml
  12. - include: tasks/launch_instances.yml
  13. vars:
  14. instances: "{{ master_names }}"
  15. cluster: "{{ cluster_id }}"
  16. type: "{{ k8s_type }}"
  17. - include: ../../common/openshift-cluster/set_node_launch_facts_tasks.yml
  18. - include: tasks/launch_instances.yml
  19. vars:
  20. instances: "{{ node_names }}"
  21. cluster: "{{ cluster_id }}"
  22. type: "{{ k8s_type }}"
  23. - include: update.yml
  24. - include: list.yml