blob: 36fc430aadc0b2ad94501ce556f82e16072f4034 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
---
- name: Launch instance(s)
hosts: localhost
connection: local
gather_facts: no
vars_files:
- vars.yml
tasks:
- fail: msg="Deployment type not supported for gce provider yet"
when: deployment_type == 'enterprise'
- include: ../../common/openshift-cluster/set_master_launch_facts_tasks.yml
- include: tasks/launch_instances.yml
vars:
instances: "{{ master_names }}"
cluster: "{{ cluster_id }}"
type: "{{ k8s_type }}"
- include: ../../common/openshift-cluster/set_node_launch_facts_tasks.yml
- include: tasks/launch_instances.yml
vars:
instances: "{{ node_names }}"
cluster: "{{ cluster_id }}"
type: "{{ k8s_type }}"
- set_fact:
oo_first_master: "{{ item }}"
with_items: master_names.split()
- debug: var=oo_first_master
- include: update.yml
- name: Deploy OpenShift Services
hosts: oo_first_master
connection: ssh
gather_facts: yes
vars_files:
- vars.yml
roles:
- openshift_docker_registry
- openshift_router
- include: list.yml
|