goldyfruit / goldyfruit.ibmcloud_automation / 1.0.4 / module / ic_is_vpc_route_info Retrieve routes from VPC on IBM Cloud. | "added in version" 2.9 of goldyfruit.ibmcloud_automation" Authors: Gaëtan Trellu (@goldyfruit) preview | supported by communitygoldyfruit.ibmcloud_automation.ic_is_vpc_route_info (1.0.4) — module
Install with ansible-galaxy collection install goldyfruit.ibmcloud_automation:==1.0.4
collections: - name: goldyfruit.ibmcloud_automation version: 1.0.4
This module retrieves routes in the VPC's default routing table. For compatibility, routes with action values other than deliver are omitted.
Each route is zone-specific and directs any packets matching its destination CIDR block to a next_hop IP address. The most specific route matching a packet's destination will be used. If multiple equally-specific routes exist, traffic will be distributed across them.
- name: Retrieve routes list ic_is_vpc_route_info: vpc: ibmcloud-vpc-baby
- name: Retrieve specific route ic_is_vpc_route_info: vpc: ibmcloud-vpc-baby route: ibmcloud-route-baby
vpc: description: - VPC name or ID required: true type: str route: description: - Restrict results to route with ID or name matching. type: str