community.digitalocean.digital_ocean_floating_ip_info – DigitalOcean Floating IPs information¶
Note
This plugin is part of the community.digitalocean collection (version 1.0.0).
To install it use: ansible-galaxy collection install community.digitalocean
.
To use it in a playbook, specify: community.digitalocean.digital_ocean_floating_ip_info
.
Synopsis¶
This module can be used to fetch DigitalOcean Floating IPs information.
This module was called
digital_ocean_floating_ip_facts
before Ansible 2.9. The usage did not change.
Requirements¶
The below requirements are needed on the host that executes this module.
python >= 2.6
Parameters¶
Examples¶
- name: "Gather information about all Floating IPs"
community.digitalocean.digital_ocean_floating_ip_info:
register: result
- name: "List of current floating ips"
debug:
var: result.floating_ips
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Patrick Marques (@pmarques)