summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-add-nodes.yml
blob: 3d3efc459ee8baf1e83b0860928e215bba4eb003 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- name: Configure cluster hosts names 
  hosts: nodes:new_nodes
  roles:
    - { role: ands_facts }
    - { role: ands_common, os_update: true }
    - { role: ands_network, action: install_pre }

# I am not sure if etcd will be automatic here. If not, we may need to run etcd scaleup afterwards
# if node is also in new_etcd list
- import_playbook: ../anslib/openshift-ansible/playbooks/prerequisites.yml
- import_playbook: ../anslib/openshift-ansible/playbooks/openshift-node/scaleup.yml
#- import_playbook: ../anslib/openshift-ansible/playbooks/openshift-etcd/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: Configure cluster hosts names 
  hosts: nodes:new_nodes
  roles:
    - { role: ands_network, action: install_post }