summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-add-masters.yml
blob: 8c1672c4c74ce509fc275742f041dc815fd7ac2b (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
- name: Configure cluster hosts names 
  hosts: nodes:new_nodes
  roles:
    - { role: ands_facts }
    - { role: ands_network, action: install_pre }

- import_playbook: x-os-update.yml

# etcd will provisioned as well if node is listed in new_etcd
- import_playbook: ../anslib/openshift-ansible/playbooks/prerequisites.yml
- import_playbook: ../anslib/openshift-ansible/playbooks/openshift-master/scaleup.yml

- import_playbook: ../anslib/openshift-ansible/playbooks/openshift-glusterfs/config.yml
  vars:
    openshift_storage_glusterfs_is_missing: False
    openshift_storage_glusterfs_heketi_is_missing: False

- name: Keepalived service
  hosts: new_masters
  roles:
    - role: keepalived

- name: Configure cluster hosts names 
  hosts: nodes:new_nodes
  roles:
    - { role: ands_network, action: install_post }