community.digitalocean.digital_ocean_project_info – Gather information about DigitalOcean Projects
This plugin is part of the community.digitalocean collection (version 1.14.0).
You might already have this collection installed if you are using the
It is not included in
To check whether it is installed, run
ansible-galaxy collection list.
To install it, use:
ansible-galaxy collection install community.digitalocean.
To use it in a playbook, specify:
New in version 1.6.0: of community.digitalocean
# Get specific project by id - community.digitalocean.digital_ocean_project_info: id: cb1ef55e-3cd8-4c7c-aa5d-07c32bf41627 # Get specific project by name - community.digitalocean.digital_ocean_project_info: name: my-project-name # Get all projects - community.digitalocean.digital_ocean_project_info: register: projects
Common return values are documented here, the following are the fields unique to this module: