summaryrefslogtreecommitdiffstats
path: root/roles/openshift_aws/tasks/vpc_and_subnet_id.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-12-01 15:28:49 -0500
committerGitHub <noreply@github.com>2017-12-01 15:28:49 -0500
commit7adf84ed20d2e5feb9b728f7047017179b6dfcee (patch)
tree02f002872c2457e7ca4667a2103f7e4ebbcd4869 /roles/openshift_aws/tasks/vpc_and_subnet_id.yml
parente0e10698184c9a7cf4bf65787771686e46d26603 (diff)
parent6154f7d49847813dfdea9ad73aaaed86f18aa9de (diff)
downloadopenshift-7adf84ed20d2e5feb9b728f7047017179b6dfcee.tar.gz
openshift-7adf84ed20d2e5feb9b728f7047017179b6dfcee.tar.bz2
openshift-7adf84ed20d2e5feb9b728f7047017179b6dfcee.tar.xz
openshift-7adf84ed20d2e5feb9b728f7047017179b6dfcee.zip
Merge pull request #6069 from kwoodson/upgrade_scale_groups
Initial upgrade for scale groups.
Diffstat (limited to 'roles/openshift_aws/tasks/vpc_and_subnet_id.yml')
-rw-r--r--roles/openshift_aws/tasks/vpc_and_subnet_id.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/roles/openshift_aws/tasks/vpc_and_subnet_id.yml b/roles/openshift_aws/tasks/vpc_and_subnet_id.yml
index aaf9b300f..1b754f863 100644
--- a/roles/openshift_aws/tasks/vpc_and_subnet_id.yml
+++ b/roles/openshift_aws/tasks/vpc_and_subnet_id.yml
@@ -6,13 +6,16 @@
'tag:Name': "{{ openshift_aws_vpc_name }}"
register: vpcout
-- name: debug
+- name: debug vcpout
debug: var=vpcout
- name: fetch the default subnet id
ec2_vpc_subnet_facts:
region: "{{ openshift_aws_region }}"
filters:
- "tag:Name": "{{ openshift_aws_subnet_name }}"
+ "availability_zone": "{{ openshift_aws_subnet_az }}"
vpc-id: "{{ vpcout.vpcs[0].id }}"
register: subnetout
+
+- name: debug subnetout
+ debug: var=subnetout