summaryrefslogtreecommitdiffstats
path: root/playbooks/aws/openshift-cluster/install.yml
blob: 56ca25eb4b39b35f8b3bdc350d1581d9344903c1 (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
44
45
46
---
- name: Setup the master node group
  hosts: localhost
  tasks:
  - include_role:
      name: openshift_aws
      tasks_from: setup_master_group.yml

- name: set the master facts for hostname to elb
  hosts: masters
  gather_facts: no
  remote_user: root
  tasks:
  - include_role:
      name: openshift_aws
      tasks_from: master_facts.yml

- name: run the init
  include: ../../init/main.yml

- name: perform the installer openshift-checks
  include: ../../openshift-checks/private/install.yml

- name: etcd install
  include: ../../openshift-etcd/private/config.yml

- name: include nfs
  include: ../../openshift-nfs/private/config.yml
  when: groups.oo_nfs_to_config | default([]) | count > 0

- name: include loadbalancer
  include: ../../openshift-loadbalancer/private/config.yml
  when: groups.oo_lb_to_config | default([]) | count > 0

- name: include openshift-master config
  include: ../../common/openshift-master/config.yml

- name: include master additional config
  include: ../../common/openshift-master/additional_config.yml

- name: include master additional config
  include: ../../openshift-node/private/config.yml

- name: include openshift-glusterfs
  include: ../../common/openshift-glusterfs/config.yml
  when: groups.oo_glusterfs_to_config | default([]) | count > 0