mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
AWS: _facts -> _info (part 4) (#57651)
* Rename ec2_vpc_dhcp_option_facts -> ec2_vpc_dhcp_option_info. * Rename ec2_vpc_endpoint_facts -> ec2_vpc_endpoint_info. * Rename ec2_vpc_igw_facts -> ec2_vpc_igw_info. * Rename ec2_vpc_nacl_facts -> ec2_vpc_nacl_info. * Rename ec2_vpc_nat_gateway_facts -> ec2_vpc_nat_gateway_info. * Rename ec2_vpc_net_facts -> ec2_vpc_net_info. * Rename ec2_vpc_peering_facts -> ec2_vpc_peering_info. * Rename ec2_vpc_route_table_facts -> ec2_vpc_route_table_info. * Rename ec2_vpc_subnet_facts -> ec2_vpc_subnet_info. * Rename ec2_vpc_vgw_facts -> ec2_vpc_vgw_info. * Rename ec2_vpc_vpn_facts -> ec2_vpc_vpn_info. * Update module defaults, add changelog and porting guide. * Update BOTMETA.
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
public: "False"
|
||||
register: subnets
|
||||
|
||||
- ec2_vpc_subnet_facts:
|
||||
- ec2_vpc_subnet_info:
|
||||
filters:
|
||||
vpc-id: "{{ vpc.vpc.id }}"
|
||||
<<: *aws_connection_info
|
||||
@@ -579,7 +579,7 @@
|
||||
register: nat_gateway
|
||||
|
||||
- name: show route table facts
|
||||
ec2_vpc_route_table_facts:
|
||||
ec2_vpc_route_table_info:
|
||||
filters:
|
||||
route-table-id: "{{ create_private_table.route_table.id }}"
|
||||
<<: *aws_connection_info
|
||||
@@ -593,7 +593,7 @@
|
||||
register: nat_gateway
|
||||
|
||||
- name: show route table facts
|
||||
ec2_vpc_route_table_facts:
|
||||
ec2_vpc_route_table_info:
|
||||
filters:
|
||||
route-table-id: "{{ create_private_table.route_table.id }}"
|
||||
<<: *aws_connection_info
|
||||
@@ -641,8 +641,8 @@
|
||||
<<: *aws_connection_info
|
||||
register: result
|
||||
|
||||
- name: Get endpoint facts to verify that it wasn't purged from the route table
|
||||
ec2_vpc_endpoint_facts:
|
||||
- name: Get endpoint infos to verify that it wasn't purged from the route table
|
||||
ec2_vpc_endpoint_info:
|
||||
query: endpoints
|
||||
vpc_endpoint_ids:
|
||||
- "{{ vpc_endpoint.result.vpc_endpoint_id }}"
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
# ============================================================
|
||||
- name: test success with no parameters
|
||||
ec2_vpc_vpn_facts:
|
||||
ec2_vpc_vpn_info:
|
||||
<<: *aws_connection_info
|
||||
register: result
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
- 'result.vpn_connections != []'
|
||||
|
||||
- name: test success with customer gateway id as a filter
|
||||
ec2_vpc_vpn_facts:
|
||||
ec2_vpc_vpn_info:
|
||||
filters:
|
||||
customer-gateway-id: '{{ cgw.gateway.customer_gateway.customer_gateway_id }}'
|
||||
vpn-connection-id: '{{ vpn.vpn_connection_id }}'
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
public: "False"
|
||||
register: subnets
|
||||
|
||||
- ec2_vpc_subnet_facts:
|
||||
- ec2_vpc_subnet_info:
|
||||
filters:
|
||||
vpc-id: "{{ vpc.vpc.id }}"
|
||||
<<: *aws_connection_info
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
public: False
|
||||
register: subnets
|
||||
|
||||
- ec2_vpc_subnet_facts:
|
||||
- ec2_vpc_subnet_info:
|
||||
filters:
|
||||
vpc-id: "{{ vpc.vpc.id }}"
|
||||
<<: *aws_connection_info
|
||||
|
||||
@@ -35,7 +35,7 @@ lib/ansible/modules/cloud/amazon/ec2_scaling_policy.py E324
|
||||
lib/ansible/modules/cloud/amazon/ec2_vol.py E322
|
||||
lib/ansible/modules/cloud/amazon/ec2_vol.py E324
|
||||
lib/ansible/modules/cloud/amazon/ec2_vol.py E326
|
||||
lib/ansible/modules/cloud/amazon/ec2_vpc_dhcp_option_facts.py E322
|
||||
lib/ansible/modules/cloud/amazon/ec2_vpc_dhcp_option_info.py E322
|
||||
lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway.py E324
|
||||
lib/ansible/modules/cloud/amazon/ec2_vpc_subnet.py E317
|
||||
lib/ansible/modules/cloud/amazon/ec2_vpc_vgw.py E323
|
||||
|
||||
Reference in New Issue
Block a user