summaryrefslogtreecommitdiffstats
path: root/playbooks/aws
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-04-14 09:59:30 -0400
committerThomas Wiest <twiest@users.noreply.github.com>2015-04-14 09:59:30 -0400
commitc85e91fdca031eba06481a24f74aa076ae9a4d38 (patch)
treeb31bef5d7776f73d83a89309ed46418335ea81b3 /playbooks/aws
parenteb64f8f819139e3901b032a4f2bfa53a3189531e (diff)
parent187e11209d0b7494ffacbabde569c14a8d0ebe2f (diff)
downloadopenshift-c85e91fdca031eba06481a24f74aa076ae9a4d38.tar.gz
openshift-c85e91fdca031eba06481a24f74aa076ae9a4d38.tar.bz2
openshift-c85e91fdca031eba06481a24f74aa076ae9a4d38.tar.xz
openshift-c85e91fdca031eba06481a24f74aa076ae9a4d38.zip
Merge pull request #152 from net-engine/aws_readme
Launch openshift on AWS issues
Diffstat (limited to 'playbooks/aws')
-rw-r--r--playbooks/aws/openshift-cluster/launch_instances.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/playbooks/aws/openshift-cluster/launch_instances.yml b/playbooks/aws/openshift-cluster/launch_instances.yml
index e4d5952fd..9d645fbe5 100644
--- a/playbooks/aws/openshift-cluster/launch_instances.yml
+++ b/playbooks/aws/openshift-cluster/launch_instances.yml
@@ -5,6 +5,7 @@
machine_region: "{{ lookup('env', 'ec2_region')|default('us-east-1', true) }}"
machine_keypair: "{{ lookup('env', 'ec2_keypair')|default('libra', true) }}"
created_by: "{{ lookup('env', 'LOGNAME')|default(cluster, true) }}"
+ security_group: "{{ lookup('env', 'ec2_security_group')|default('public', true) }}"
env: "{{ cluster }}"
host_type: "{{ type }}"
env_host_type: "{{ cluster }}-openshift-{{ type }}"
@@ -14,7 +15,7 @@
state: present
region: "{{ machine_region }}"
keypair: "{{ machine_keypair }}"
- group: ['public']
+ group: "{{ security_group }}"
instance_type: "{{ machine_type }}"
image: "{{ machine_image }}"
count: "{{ instances | oo_len }}"