Topics
CI, documentation, and Python updates.
- digital_ocean_kubernetes - add project_name parameter (#264).
- The C(project_name) parameter for many modules was used by alias C(project) internally in the codebase, but to work properly C(project_name) must be used in the code. Replace self.module.params.get("project") with self.module.params.get("project_name") (#326).
- digital_ocean_kubernetes - module didn't return kubeconfig properly, return documentation was invalid. Fixed version returns data with the same structure all the time, also it is aligned with M(community.digitalocean.digital_ocean_kubernetes_info) documentation return data now. (#322).
- fix sanity tests (#323).
- inventory plugin - restore reading auth token from env variables (#315).
- digital_ocean_project_resource_info - Gather information about DigitalOcean Project Resources
- documentation - use C(true) and C(false) for boolean values in documentation and examples (#303).
- inventory plugin - drop C(api_token) in favor of C(oauth_token) for consistency (#300).
- tests - add C(sanity), C(units), and C(psf/black) back on merge into C(main) (#311).
- tests - drop Ansible 2.9 and Ansible Core 2.10 and 2.11 (#310).
- tests - remove the daily runs (#310).
- tests - run C(psf/black) across all files (#310).
- tests - test against Ansible Core 2.12, 2.13, and 2.14 (#310).
- digital_ocean_domain - fix
all_domains
by usingget_paginated_data
to retrieve all of the domains in the account from the paginated domains api endpoint (#307).
- digital_ocean_load_balancer - add support for C(size_unit) over deprecated C(size); deprecate C(algorithm) completely (#270).
- documentation - refresh the "Testing and Development" section of the C(README.md) (#268).
- integration tests - add a dedicated integration test for C(digital_ocean_database_info) (#289).
- integration tests - set pull request integration tests to run against branch instead of last commit (#291).
- integration tests - add missing environment directive on pull request integration testing (#293).
- inventory plugin - bugfix for baseurl parameter (#297).
- collection - added an action group C(community.digitalocean.all) for use with module defaults (https://docs.ansible.com/ansible/latest/user_guide/playbooks_module_defaults.html) (#281).
- digital_ocean_vpc - add C(vpc) key to returned VPC data on create (#276).
- integration tests - perform integration testing on all modules for changes in C(plugins/module_utils) or by changed module in C(plugins/modules) (#286).
- integration tests - split the integration tests by module and run them serially (#280).
- digital_ocean - add sanity test ignores for Ansible 2.12 and 2.13 (#247).
- digital_ocean_droplet - if the JSON response lacks a key and the associated variable is set to
None
, then don't treat that variable like adict
and callget()
on it without first testing it (#272).
- digital_ocean_cdn_endpoints - update Spaces endpoint and add a few delays to the integration test (#267).
- digital_ocean_load_balancer - Allow creating a load balancer and associating droplets by tag as an alternative to
droplet_ids
.
- digital_ocean_droplet - fix regression in droplet deletion where
name
andunique_name
(set to true) are required andid
alone is insufficient (thoughid
is sufficient to uniquely identify a droplet for deletion). (#260) - digital_ocean_droplet - fix regression where droplet info (for example networking) doesn't update when waiting during creation unless
unique_name
is set to true (#220).
- digital_ocean - reference C(DO_API_TOKEN) consistently in module documentation and examples (#248).
- digital_ocean_cdn_endpoints - remove non-API parameters before posting to the API (#252).
- digital_ocean_cdn_endpoints - use the correct module name in the C(EXAMPLES) (#251).
- ci - adding stable-2.13 to sanity and unit testing (#239).
- digital_ocean_spaces - set C(no_log=True) for C(aws_access_key_id) parameter (#243).
- digital_ocean_spaces_info - set C(no_log=True) for C(aws_access_key_id) parameter (#243).
- digital_ocean - parameterize the DigitalOcean API base url (#237).
- black test - added a 15 minute timeout (#228).
- digital_ocean_domain - add support for IPv6 apex domain records (#226).
- integration tests - added a 120 minute timeout (#228).
- sanity and unit tests - added a 30 minute timeout (#228).
- digital_ocean_kubernetes - add missing elements type to C(node_pools.tags) and C(node_pools.taints) options (#232).
- digital_ocean_domain_record_info - Gather information about DigitalOcean domain records
- Updates DigitalOcean API documentation links to current domain with working URL anchors (#223).
- digital_ocean_droplet - fix reporting of changed state when
firewall
argument is present (#219).
- digital_ocean_droplet - move Droplet data under "droplet" key in returned payload (#211).
- digital_ocean_spaces - Create and remove DigitalOcean Spaces.
- digital_ocean_spaces_info - List DigitalOcean Spaces.
- digital_ocean_kubernetes_info - switching C(changed=True) to C(changed=False) since getting information is read-only in nature (#204).
- Update README.md with updated Droplet examples (#199).
- digital_ocean_cdn_endpoints - defaulting optional string parameters as strings (#205).
- digital_ocean_cdn_endpoints - updating Spaces endpoint for the integration test (#205).
- digital_ocean_droplet - ensure that Droplet creation is successful (#197).
- digital_ocean_droplet - fixing project assignment for the C(unique_name=False) case (#201).
- digital_ocean_droplet - update Droplet examples (#199).
- Set Python 3.9 as the C(python-version) and C(target-python-version) in the integration, sanity, and unit tests for Ansible > 2.9 (3.8 otherwise).
- digital_ocean_droplet - allow the user to override the Droplet action and status polling interval (#194).
- digital_ocean_kubernetes - adding support for HA control plane (#190).
- digital_ocean_block_storage - adding Project support (#171).
- digital_ocean_database - adding Project support (#171).
- digital_ocean_domain - adding Project support (#171).
- digital_ocean_droplet - adding Project support (#171).
- digital_ocean_droplet - adding ability to apply and remove firewall by using droplet module (#159).
- digital_ocean_droplet - require unique_name for state=absent to avoid unintentional droplet deletions.
- digital_ocean_firewall - inbound_rules and outbound_rules are no longer required for firewall removal (#181).
- digital_ocean_floating_ip - adding Project support (#171).
- digital_ocean_floating_ip - adding attach and detach states to floating ip module (#170).
- digital_ocean_load_balancer - adding Project support (#171).
- digitalocean integration tests - adding integration tests for CDN Endpoints (#179).
- Update the tests so that they only run once (#186).
- digital_ocean_droplet - fix resizing with C(state: active) does not actually turn Droplet on (#140).
- digital_ocean_kubernetes - fix return value consistency (#174).
- digitalocean inventory script - add support for Droplet tag filtering (#7).
- Adding missing status badges for black and unit tests (#164).
- Documentation URLs are fixed for the C(digital_ocean_domain_record) and C(digital_ocean_droplet_info) modules (#163).
- Serializing the cloud integration tests (#165).
- digital_ocean_floating_ip - make floating ip return data idempotent (#162).
- digitalocean inventory - enforce the C(timeout) parameter (#168).
- digital_ocean_kubernetes - adding the C(taints), C(auto_scale), C(min_nodes) and C(max_nodes) parameters to the C(node_pools) definition (#157).
- digital_ocean_block_storage - fix block volumes detach idempotency (#149).
- digital_ocean_droplet - ensure "active" state before issuing "power on" action (#150)
- digital_ocean_droplet - power on should poll/wait, resize should support "active" state (#143).
- digital_ocean_load_balancer - C(droplet_ids) are not required when C(state=absent) is chosen (#147).
- digital_ocean_load_balancer - when C(state=absent) is chosen the API returns an empty response (#147).
- digital_ocean_cdn_endpoints - Create and delete DigitalOcean CDN Endpoints
- digital_ocean_cdn_endpoints_info - Gather information about DigitalOcean CDN Endpoints
- digital_ocean_load_balancer - Manage DigitalOcean Load Balancers
- digital_ocean_monitoring_alerts - Create and delete DigitalOcean Monitoring alerts
- digital_ocean_monitoring_alerts_info - Gather information about DigitalOcean Monitoring alerts
- digital_ocean - running and enforcing psf/black in the codebase (#136).
- digital_ocean_floating_ip_info - new integration test for the digital_ocean_floating_ip_info module (#130).
- digital_ocean_database - increase the database creation integration test timeout (https://github.com/ansible-collections/community.digitalocean).
- digital_ocean_floating_ip - delete all Floating IPs initially during the integration test run (#129).
- digitalocean inventory - respect the TRANSFORM_INVALID_GROUP_CHARS configuration setting (#138).
- info modules - adding missing check mode support (#139).
- digital_ocean_database - add support for MongoDB (#124).
- digital_ocean - integration tests need community.general and jmespath (#121).
- digital_ocean_firewall - fixed idempotence (#122).
- digital_ocean_kubernetes - set "latest" as the default version for new clusters (#114).
- digital_ocean_certificate - fixing integration test (#114).
- digital_ocean_droplet - state present with wait was not waiting (#116).
- digital_ocean_firewall - fixing integration test (#114).
- digital_ocean_tag - fixing integration test (#114).
- digitalocean - update README.md with project_info and project module (#112).
- digital_ocean_snapshot - Create and delete DigitalOcean snapshots
- digital_ocean_vpc - Create and delete DigitalOcean VPCs
- digital_ocean_vpc_info - Gather information about DigitalOcean VPCs
- digital_ocean_certificate_info - ensure return type is a list (#55).
- digital_ocean_domain_info - ensure return type is a list (#55).
- digital_ocean_firewall_info - ensure return type is a list (#55).
- digital_ocean_load_balancer_info - ensure return type is a list (#55).
- digital_ocean_tag_info - ensure return type is a list (#55).
- digitalocean inventory plugin - attributes available to filters are limited to explicitly required attributes and are prefixed with
var_prefix
(#102).
- digital_ocean_project - Manage a DigitalOcean project
- digital_ocean_project_info - Gather information about DigitalOcean Projects
- digitalocean inventory plugin - Wire up advertised caching functionality (#97).
- digitalocean - Filter droplets in dynamic inventory plugin using arbitrary. jinja2 expressions (#96).
- digitalocean - Support templates in API tokens when using the dynamic inventory plugin (#98).
- digital_ocean_database - Fixed DB attribute settings (#94).
- digital_ocean_database_info - Cleanup unused attribs (https://github.com/ansible-collections/community.digitalocean/pulls/100).
- digital_ocean_snapshot_info - Fix lookup of snapshot_info by_id (#92).
- digital_ocean_tag - Fix tag idempotency (#61).
- digital_ocean_droplet - Fixed Droplet inactive state (#88).
- digital_ocean_sshkey - Fixed SSH Key Traceback Issue (#68).
- digital_ocean_droplet - Add integration tests for Droplet active and inactive states (#66).
- digital_ocean_droplet - Fix Droplet inactive state (#83).
- digital_ocean_droplet_info - Fix documentation link for digital_ocean_droplet_info (#81).
- digitalocean - Fix return docs for digital_ocean_sshkey_info (#56).
- digitalocean - Update README.md for K8s and databases (#80).
- digital_ocean_droplet_info - Gather information about DigitalOcean Droplets
- digital_ocean_database - Create and delete a DigitalOcean database
- digital_ocean_database_info - Gather information about DigitalOcean databases
- digital_ocean_kubernetes - Create and delete a DigitalOcean Kubernetes cluster
- digital_ocean_kubernetes_info - Returns information about an existing DigitalOcean Kubernetes cluster
- digital_ocean -
ssh_key_ids
list entries are now validated to be strings (#13). - digital_ocean_droplet -
ssh_keys
,tags
, andvolumes
list entries are now validated to be strings (#13). - digital_ocean_droplet - adding
active
andinactive
states (#23). - digital_ocean_droplet - adds Droplet resize functionality (#4).
- digital_ocean inventory script - fail cleaner on invalid
HOST
argument to--host
option (#44). - digital_ocean inventory script - implement unimplemented
use_private_network
option and register missingdo_ip_address
,do_private_ip_address
host vars (https://github.com/ansible-collections/community.digitalocean/pull/45/files). - digital_ocean inventory script - return JSON consistent with specification with
--host
(#44). - digital_ocean_domain - return zone records when creating a new zone (#46).
- digital_ocean_droplet - add missing
required=True
ondo_oauth_token
inargument_spec
(#13). - digital_ocean_floating_ip - fixes idempotence (#5).
- digital_ocean_balance_info - Display DigitalOcean customer balance
- digitalocean - Drop collection version from README.md (#63).
- digital_ocean_block_storage - included ability to resize Block Storage Volumes (#38).
- digital_ocean_certificate_info - fix retrieving certificate by ID (#35).
- digital_ocean_domain - module is now idempotent when called without IP (#21).
- digital_ocean_load_balancer_info - fix retrieving load balancer by ID (#35).
- digitalocean - DigitalOcean Inventory Plugin
- digital_ocean_domain_record - Manage DigitalOcean domain records
- digital_ocean_firewall - Manage cloud firewalls within DigitalOcean
Initial release of the collection after extracing the modules from community.general.