Modules Reference for the DigitalOcean Ansible Collection

An Ansible module is a standalone script that you can use in an Ansible playbook.

The following modules are available in DigitalOcean’s digitalocean.cloud Ansible collection:

Show information about the current user account
Retrieve the balances on a customer’s account
Retrieve a list of all billing history entries
Manage CDN endpoints
List all of the CDN endpoints available on your account
Manage certificates
List all of the certificates available on your account
Get information about your container registry
Create or delete database clusters
List all of the database clusters on your account
Manage domains
Manage domain records
Retrieve a listing of all of the domain records for a domain
Retrieve a list of all of the domains in your account
Create or delete Droplets
Set power states of a Droplet
Resize a Droplet
Take a snapshot of a Droplet
List all Droplets in your account
Create or delete firewalls
List all firewalls on your account
List all of the images available on your account
Create or delete Kubernetes clusters
Retrieve a list of all of the Kubernetes clusters in your account
Create or delete load balancers
Retrieve a list of all of the load balancers in your account
Returns all alert policies that are configured for the given account
Create or delete monitoring alert policy
Install Kubernetes 1-Click applications
List all available 1-Click applications
Create or delete projects
Retrieve a list of all of the project resources in your account
Retrieve a list of all of the projects in your account
List all of the regions that are available
Create or delete reserved IPs
List all reserved IPs on your account
List all of available Droplet sizes
Delete snapshots
Retrieve a list of all of the snapshots in your account
Manage Spaces
List all of the Spaces in your account
Create or delete SSH keys
List all of the keys in your account
tag
Create or delete tags
List all of the tags on your account
Create or delete Uptime checks
List all of the Uptime checks on your account
Get the state of an Uptime check
Create or delete volumes
Attach or detach volumes from Droplets
Create or delete volume snapshots
List all of the block storage volumes available on your account
vpc
Create or delete VPCs
List all of the VPCs on your account
In this article...