diff options
author | Ricardo Bernardeli <ricardobcs@gmail.com> | 2015-04-13 09:20:38 +1000 |
---|---|---|
committer | Ricardo Bernardeli <ricardobcs@gmail.com> | 2015-04-13 09:39:42 +1000 |
commit | 187e11209d0b7494ffacbabde569c14a8d0ebe2f (patch) | |
tree | 986a41bd1ca7ee517f7a53124a1c903fa3b56ef8 /playbooks/aws/openshift-cluster | |
parent | b87616816b591aa357de60415be00a514dcb7c6a (diff) | |
download | openshift-187e11209d0b7494ffacbabde569c14a8d0ebe2f.tar.gz openshift-187e11209d0b7494ffacbabde569c14a8d0ebe2f.tar.bz2 openshift-187e11209d0b7494ffacbabde569c14a8d0ebe2f.tar.xz openshift-187e11209d0b7494ffacbabde569c14a8d0ebe2f.zip |
Add extra information for AWS README
Make security group an environment variable with default to ‘public’
Diffstat (limited to 'playbooks/aws/openshift-cluster')
-rw-r--r-- | playbooks/aws/openshift-cluster/launch_instances.yml | 3 |
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 }}" |