summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-node/scaleup.yml
blob: e0c36fb69f55b9d2f60ebdec3b56bff1feabbe6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
- include: ../openshift-cluster/initialize_groups.yml

- name: Ensure there are new_nodes
  hosts: localhost
  connection: local
  become: no
  gather_facts: no
  tasks:
  - fail:
      msg: >
        Detected no new_nodes in inventory. Please add hosts to the
        new_nodes host group to add nodes.
    when:
    - g_new_node_hosts | default([]) | length == 0

- include: ../../common/openshift-cluster/std_include.yml

- include: ../../common/openshift-node/config.yml