diff options
author | Russell Teague <rteague@redhat.com> | 2017-11-16 16:32:38 -0500 |
---|---|---|
committer | Russell Teague <rteague@redhat.com> | 2017-11-21 15:05:23 -0500 |
commit | d448704c0e67494387d80c2fa2348d25e848c8d3 (patch) | |
tree | f88c034a0da1c7bc7f9c42c1e07ea1a216bde22b /playbooks/openshift-node/scaleup.yml | |
parent | 8d12df4b390832664f0be2d9955440bdeb00bb29 (diff) | |
download | openshift-d448704c0e67494387d80c2fa2348d25e848c8d3.tar.gz openshift-d448704c0e67494387d80c2fa2348d25e848c8d3.tar.bz2 openshift-d448704c0e67494387d80c2fa2348d25e848c8d3.tar.xz openshift-d448704c0e67494387d80c2fa2348d25e848c8d3.zip |
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 |