digital_ocean_floating_ip – Manage DigitalOcean Floating IPs¶
New in version 2.4.
The below requirements are needed on the host that executes this module.
python >= 2.6
- 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 22.214.171.124" digital_ocean_floating_ip: state: absent ip: "126.96.36.199"
Common return values are documented here, the following are the fields unique to this module: