|
@@ -15,10 +15,9 @@
|
|
|
ec2_vpc_subnet_facts:
|
|
|
region: "{{ openshift_aws_region }}"
|
|
|
filters:
|
|
|
+ availability-zone: "{{ item }}"
|
|
|
vpc-id: "{{ vpcout.vpcs[0].id }}"
|
|
|
- "tag:Name": "{{ item }}"
|
|
|
- with_items:
|
|
|
- - "{{ openshift_aws_vpc.subnets[openshift_aws_region] | map(attribute='az') | list }}"
|
|
|
+ with_items: "{{ openshift_aws_vpc.subnets[openshift_aws_region] | map(attribute='az') | list }}"
|
|
|
register: subnetout
|
|
|
|
|
|
- name: debug subnetout
|