diff options
author | Russell Teague <rteague@redhat.com> | 2017-11-21 16:56:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-21 16:56:27 -0500 |
commit | 8255f668ebac12171098f5ba6cbb74370ec3141c (patch) | |
tree | 005604559faa06dcb5cae42c50dd1f47b594fb20 /playbooks/openshift-node/scaleup.yml | |
parent | 51a0cbd42807c91a5e30fa58362b8745a40607f2 (diff) | |
parent | 37cfec7fd40bc77c53368e8fc934d551d773c9bd (diff) | |
download | openshift-8255f668ebac12171098f5ba6cbb74370ec3141c.tar.gz openshift-8255f668ebac12171098f5ba6cbb74370ec3141c.tar.bz2 openshift-8255f668ebac12171098f5ba6cbb74370ec3141c.tar.xz openshift-8255f668ebac12171098f5ba6cbb74370ec3141c.zip |
Merge pull request #6158 from mtnbikenc/consolidate-openshift-node
Playbook Consolidation - openshift-node
Diffstat (limited to 'playbooks/openshift-node/scaleup.yml')
-rw-r--r-- | playbooks/openshift-node/scaleup.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/playbooks/openshift-node/scaleup.yml b/playbooks/openshift-node/scaleup.yml new file mode 100644 index 000000000..b4c39e37e --- /dev/null +++ b/playbooks/openshift-node/scaleup.yml @@ -0,0 +1,21 @@ +--- +- include: ../init/evaluate_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 + +# Need a better way to do the above check for node without +# running evaluate_groups and init/main.yml +- include: ../init/main.yml + +- include: private/config.yml |