digital_ocean_floating_ip – Manage DigitalOcean Floating IPs¶
New in version 2.4.
Requirements¶
The below requirements are needed on the host that executes this module.
- python >= 2.6
Parameters¶
Examples¶
- name: "Create a Floating IP in region lon1"
digital_ocean_floating_ip:
state: present
region: lon1
- name: "Create a Floating IP assigned to Droplet ID 123456"
digital_ocean_floating_ip:
state: present
droplet_id: 123456
- name: "Delete a Floating IP with ip 1.2.3.4"
digital_ocean_floating_ip:
state: absent
ip: "1.2.3.4"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by the Ansible Community. [community]
Authors¶
- Patrick Marques (@pmarques)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.