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

# 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 }