Modules Reference for the DigitalOcean Ansible Collection

Generated on 15 May 2025 from digitalocean.cloud version v1.2.1

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:

account_info

Show information about the current user account

actions_info

List all actions that have been executed on your account

app

Create or delete App Platform applications

apps_info

List all App Platform applications on your account

balance_info

Retrieve the balances on a customer’s account

billing_history_info

Retrieve a list of all billing history entries

byoip_prefix

Manage Bring Your Own IP (BYOIP) prefixes

byoip_prefixes_info

List all BYOIP prefixes on your account

cdn_endpoints

Manage CDN endpoints

cdn_endpoints_info

List all of the CDN endpoints available on your account

certificate

Manage certificates

certificates_info

List all of the certificates available on your account

container_registry

Create or delete container registry

container_registry_info

Get information about your container registry

database_backups_info

List all backups for a database cluster

database_cluster

Create or delete database clusters

database_clusters_info

List all of the database clusters on your account

database_config

Configure database cluster settings

database_config_info

Get database cluster configuration

database_connection_pool

Create or delete database connection pools

database_connection_pools_info

List all connection pools for a database cluster

database_db

Create or delete databases within a cluster

database_dbs_info

List all databases within a cluster

database_firewall

Manage database cluster firewall rules

database_firewall_rules_info

List database cluster firewall rules

database_maintenance_window

Configure database cluster maintenance window

database_replica

Create or delete database read-only replicas

database_replicas_info

List all read-only replicas for a database cluster

database_user

Create or delete database users

database_users_info

List all database users in a cluster

domain

Manage domains

domain_record

Manage domain records

domain_records_info

Retrieve a listing of all of the domain records for a domain

domains_info

Retrieve a list of all of the domains in your account

droplet

Create or delete Droplets

droplet_action_power

Set power states of a Droplet

droplet_action_resize

Resize a Droplet

droplet_action_snapshot

Take a snapshot of a Droplet

droplet_autoscale_pool

Create or delete Droplet Autoscale Pools

droplet_autoscale_pools_info

List all Droplet Autoscale Pools on your account

droplet_backups_info

List backups for a Droplet

droplet_kernels_info

List available kernels for a Droplet

droplet_neighbors_info

List Droplet neighbors

droplet_snapshots_info

List snapshots for a Droplet

droplets_info

List all Droplets in your account

firewall

Create or delete firewalls

firewalls_info

List all firewalls on your account

floating_ip

Create or delete floating IPs (legacy)

floating_ip_action

Assign or unassign a floating IP to a Droplet (legacy)

floating_ips_info

List all floating IPs on your account (legacy)

function_namespace

Create or delete Functions namespaces

function_namespaces_info

List all Functions namespaces on your account

image

Manage custom images

image_action

Perform actions on images

images_info

List all of the images available on your account

invoice_items_info

Get invoice items by UUID

invoices_info

List account invoices

kubernetes_cluster

Create or delete Kubernetes clusters

kubernetes_clusters_info

Retrieve a list of all of the Kubernetes clusters in your account

kubernetes_node_pool

Create, update, or delete Kubernetes node pools

kubernetes_node_pools_info

List all node pools in a Kubernetes cluster

load_balancer

Create or delete load balancers

load_balancers_info

Retrieve a list of all of the load balancers in your account

monitoring_alert_policies_info

Returns all alert policies that are configured for the given account

monitoring_alert_policy

Create or delete monitoring alert policy

nfs

Create or delete NFS file shares

nfs_action

Perform actions on NFS file shares

nfs_info

List all NFS file shares on your account

one_click

Install Kubernetes 1-Click applications

one_clicks_info

List all available 1-Click applications

project

Create or delete projects

project_resource

Assign or remove resources from a project

project_resources

Assign resources to a project

project_resources_info

Retrieve a list of all of the project resources in your account

projects_info

Retrieve a list of all of the projects in your account

regions_info

List all of the regions that are available

reserved_ip

Create or delete reserved IPs

reserved_ip_assign

Create and/or assign a reserved IP to a Droplet

reserved_ips_info

List all reserved IPs on your account

reserved_ipv6

Create or delete reserved IPv6 addresses

reserved_ipv6_action

Assign or unassign a reserved IPv6 address to a Droplet

reserved_ipv6s_info

List all reserved IPv6 addresses on your account

sizes_info

List all of available Droplet sizes

snapshot

Delete snapshots

snapshots_info

Retrieve a list of all of the snapshots in your account

space

Manage Spaces

spaces_info

List all of the Spaces in your account

spaces_key

Create or delete Spaces access keys

spaces_keys_info

List all Spaces access keys on your account

ssh_key

Create or delete SSH keys

ssh_keys_info

List all of the keys in your account

tag

Create or delete tags

tags_info

List all of the tags on your account

uptime_alert

Create or delete uptime check alerts

uptime_alerts_info

List all alerts for an uptime check

uptime_check

Create or delete Uptime checks

uptime_checks_info

List all of the Uptime checks on your account

uptime_checks_state_info

Get the state of an Uptime check

volume

Create or delete volumes

volume_action

Attach or detach volumes from Droplets

volume_snapshot

Create or delete volume snapshots

volumes_info

List all of the block storage volumes available on your account

vpc

Create or delete VPCs

vpc_nat_gateway

Create or delete VPC NAT Gateways

vpc_nat_gateways_info

List all VPC NAT Gateways on your account

vpc_peering

Create or delete VPC Peerings

vpc_peerings_info

List all VPC Peerings on your account

vpcs_info

List all of the VPCs on your account

We can't find any results for your search.

Try using different keywords or simplifying your search terms.