summaryrefslogtreecommitdiffstats
path: root/playbooks/aws/openshift-cluster/scaleup.yml
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-11-24 14:34:12 -0500
committerJason DeTiberus <jdetiber@redhat.com>2015-11-24 14:34:12 -0500
commit4ffde064c126e54930f776c727ab91b8c150166d (patch)
tree51fd4fd611fbb1a1a25b33dc4928a4af6906df6b /playbooks/aws/openshift-cluster/scaleup.yml
parent6fa3dc760065e622efca6ce33fcf838177bcadff (diff)
downloadopenshift-4ffde064c126e54930f776c727ab91b8c150166d.tar.gz
openshift-4ffde064c126e54930f776c727ab91b8c150166d.tar.bz2
openshift-4ffde064c126e54930f776c727ab91b8c150166d.tar.xz
openshift-4ffde064c126e54930f776c727ab91b8c150166d.zip
start of aws scaleup
Diffstat (limited to 'playbooks/aws/openshift-cluster/scaleup.yml')
-rw-r--r--playbooks/aws/openshift-cluster/scaleup.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/playbooks/aws/openshift-cluster/scaleup.yml b/playbooks/aws/openshift-cluster/scaleup.yml
new file mode 100644
index 000000000..3c2deff70
--- /dev/null
+++ b/playbooks/aws/openshift-cluster/scaleup.yml
@@ -0,0 +1,25 @@
+---
+
+- hosts: localhost
+ gather_facts: no
+ vars_files:
+ - vars.yml
+ tasks:
+ - set_fact:
+ g_ssh_user_tmp: "{{ deployment_vars[deployment_type].ssh_user }}"
+ g_sudo_tmp: "{{ deployment_vars[deployment_type].sudo }}"
+
+- include: ../../common/openshift-cluster/scaleup.yml
+ vars:
+ g_etcd_group: "{{ 'tag_env-host-type_' ~ cluster_id ~ '-openshift-etcd' }}"
+ g_lb_group: "{{ 'tag_env-host-type_' ~ cluster_id ~ '-openshift-lb' }}"
+ g_masters_group: "{{ 'tag_env-host-type_' ~ cluster_id ~ '-openshift-master' }}"
+ g_new_nodes_group: 'nodes_to_add'
+ g_ssh_user: "{{ hostvars.localhost.g_ssh_user_tmp }}"
+ g_sudo: "{{ hostvars.localhost.g_sudo_tmp }}"
+ g_nodeonmaster: true
+ openshift_cluster_id: "{{ cluster_id }}"
+ openshift_debug_level: 2
+ openshift_deployment_type: "{{ deployment_type }}"
+ openshift_hostname: "{{ ec2_private_ip_address }}"
+ openshift_public_hostname: "{{ ec2_ip_address }}"