goldyfruit / goldyfruit.ibmcloud_automation / 1.0.4 / module / ic_is_gateway Manage VPC public gateways 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_gateway (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
A public gateway is a virtual network device associated with a VPC, which allows access to the Internet. A public gateway resides in a zone and can be connected to subnets in the same zone only.
- name: Create public gateway with random floating IP ic_is_gateway: gateway: ibmcloud-public-gateway-baby vpc: ibmcloud-vpc-baby zone: us-south-3
- name: Create public gateway with defined floating IP ic_is_gateway: gateway: ibmcloud-public-gateway-baby vpc: ibmcloud-vpc-baby zone: us-south-3 floating_ip: 128.128.129.129
- name: Delete public gateway ic_is_gateway: gateway: ibmcloud-gateway-baby vpc: ibmcloud-vpc-baby zone: us-south-3 state: absent
vpc: description: - The VPC this public gateway will serve required: true type: str zone: description: - The zone name where this public gateway will be created. required: true type: str state: choices: - present - absent default: present description: - Should the resource be present or absent. type: str gateway: description: - The user-defined name for this public gateway. required: true type: str floating_ip: description: - Identifies a floating IP by a unique property (C(IP address)). type: str resource_group: description: - The resource group to use. If unspecified, the account's default resource group is used. type: str