diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2016-01-10 01:38:59 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2016-01-19 15:37:58 -0500 |
commit | 631e5977e2e146f2f4906652856494a5e823a04b (patch) | |
tree | 5635cc479c06088cbdc7efc12fb4b46b0810cfce /playbooks/aws/openshift-cluster/add_nodes.yml | |
parent | 8ce35b40a55f46f716f280054594c8b5d39cd547 (diff) | |
download | openshift-631e5977e2e146f2f4906652856494a5e823a04b.tar.gz openshift-631e5977e2e146f2f4906652856494a5e823a04b.tar.bz2 openshift-631e5977e2e146f2f4906652856494a5e823a04b.tar.xz openshift-631e5977e2e146f2f4906652856494a5e823a04b.zip |
Remove camel case for bin/cluster addNodes
Diffstat (limited to 'playbooks/aws/openshift-cluster/add_nodes.yml')
-rw-r--r-- | playbooks/aws/openshift-cluster/add_nodes.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/playbooks/aws/openshift-cluster/add_nodes.yml b/playbooks/aws/openshift-cluster/add_nodes.yml new file mode 100644 index 000000000..3d88e6b23 --- /dev/null +++ b/playbooks/aws/openshift-cluster/add_nodes.yml @@ -0,0 +1,40 @@ +--- +- name: Launch instance(s) + hosts: localhost + connection: local + become: no + gather_facts: no + vars_files: + - vars.yml + - ["vars.{{ deployment_type }}.{{ cluster_id }}.yml", vars.defaults.yml] + vars: + oo_extend_env: True + tasks: + - fail: + msg: Deployment type not supported for aws provider yet + when: deployment_type == 'enterprise' + + - include: ../../common/openshift-cluster/tasks/set_node_launch_facts.yml + vars: + type: "compute" + count: "{{ num_nodes }}" + - include: tasks/launch_instances.yml + vars: + instances: "{{ node_names }}" + cluster: "{{ cluster_id }}" + type: "{{ k8s_type }}" + g_sub_host_type: "{{ sub_host_type }}" + + - include: ../../common/openshift-cluster/tasks/set_node_launch_facts.yml + vars: + type: "infra" + count: "{{ num_infra }}" + - include: tasks/launch_instances.yml + vars: + instances: "{{ node_names }}" + cluster: "{{ cluster_id }}" + type: "{{ k8s_type }}" + g_sub_host_type: "{{ sub_host_type }}" + +- include: scaleup.yml +- include: list.yml |