summaryrefslogtreecommitdiffstats
path: root/playbooks/aws/openshift-cluster/install.yml
blob: b03fb0b7f207f581a43ee17280cec0ff6f048f8f (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
  import_playbook: ../../init/main.yml

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

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

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

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

- name: include openshift-master config
  import_playbook: ../../openshift-master/private/config.yml

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

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

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