summaryrefslogtreecommitdiffstats
path: root/playbooks/aws/openshift-cluster/install.yml
blob: ce65d73fa7306e4aea2aaa6a35e4e54e1648fbc7 (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: ../../common/openshift-checks/install.yml

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

- name: include nfs
  include: ../../common/openshift-nfs/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: ../../common/openshift-node/config.yml

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