goldyfruit / goldyfruit.ibmcloud_automation / 1.0.4 / module / ic_is_floating_ip Manage VPC floating IPs 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_floating_ip (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
Floating IPs allow inbound and outbound traffic from the Internet to an instance.
- name: Reserve floating IP within a zone ic_is_floating_ip: fip: ibmcloud-fip-baby zone: us-south-3
- name: Reserve floating IP and bound it to a reserved IP ic_is_floating_ip: fip: ibmcloud-fip-baby target: 69e55145-cc7d-4d8e-9e1f-cc3fb60b1793
- name: Release floating IP
- ic_is_floating_ip: fip: ibmcloud-fip-baby state: release
fip: description: - The unique user-defined name for this floating IP. required: true type: str zone: description: - The name of the zone to provision a floating IP in. type: str state: choices: - present - absent - reserve - release default: present description: - Should the resource be present, absent, attach or detach. type: str target: description: - The target this address is to be bound to. - Target could be the network interface of VSI instance. type: str resource_group: description: - The resource group to use. If unspecified, the account's default resource group is used. type: str