summaryrefslogtreecommitdiffstats
path: root/playbooks/aws/openshift-cluster/vars.yml
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-04-22 14:10:15 -0400
committerJason DeTiberus <jdetiber@redhat.com>2015-04-22 22:36:51 -0400
commit6792e2c58ea21bd67a36ff4571301782c9f64009 (patch)
tree4bf47a79bbdae285dbcc2ac27e865de08838e57f /playbooks/aws/openshift-cluster/vars.yml
parent12ca55504988fe6ea524b222a510d51b0168f95b (diff)
downloadopenshift-6792e2c58ea21bd67a36ff4571301782c9f64009.tar.gz
openshift-6792e2c58ea21bd67a36ff4571301782c9f64009.tar.bz2
openshift-6792e2c58ea21bd67a36ff4571301782c9f64009.tar.xz
openshift-6792e2c58ea21bd67a36ff4571301782c9f64009.zip
Allow variable overriding for ec2 deployment_vars
- users can now override the deployment_vars variables with the assocated ec2_* variables - added deployment_type and env specific vars files that load some ec2_* overrides - added the ability to search for amis by ami_name - this allows us to specify a base name with a wildcard to have the playbook choose the latest available image for that image name - added a copy of the ec2_find_ami module that will be in ansible 2.0 until we can make ansible 2.0 a requirement.
Diffstat (limited to 'playbooks/aws/openshift-cluster/vars.yml')
-rw-r--r--playbooks/aws/openshift-cluster/vars.yml13
1 files changed, 8 insertions, 5 deletions
diff --git a/playbooks/aws/openshift-cluster/vars.yml b/playbooks/aws/openshift-cluster/vars.yml
index f87e7aba3..07e453f89 100644
--- a/playbooks/aws/openshift-cluster/vars.yml
+++ b/playbooks/aws/openshift-cluster/vars.yml
@@ -3,6 +3,7 @@ deployment_vars:
origin:
# fedora, since centos requires marketplace
image: ami-acd999c4
+ image_name:
region: us-east-1
ssh_user: fedora
sudo: yes
@@ -13,18 +14,20 @@ deployment_vars:
assign_public_ip:
online:
# private ami
- image: ami-906240f8
+ image: ami-7a9e9812
+ image_name: openshift-rhel7_*
region: us-east-1
ssh_user: root
sudo: no
- keypair: mmcgrath_libra
+ keypair: libra
type: m3.large
- security_groups: [ 'int-v3' ]
- vpc_subnet: subnet-987c0def
- assign_public_ip: yes
+ security_groups: [ 'public' ]
+ vpc_subnet:
+ assign_public_ip:
enterprise:
# rhel-7.1, requires cloud access subscription
image: ami-10663b78
+ image_name:
region: us-east-1
ssh_user: ec2-user
sudo: yes