Skip to content

Latest commit

 

History

History
512 lines (352 loc) · 24.1 KB

CHANGELOG.rst

File metadata and controls

512 lines (352 loc) · 24.1 KB

Community DigitalOcean Release Notes

Topics

v1.26.0

Minor Changes

  • digital_ocean_kubernetes - add project_name parameter (#264).

Bugfixes

  • 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).

v1.25.0

Minor Changes

  • fix sanity tests (#323).

Bugfixes

  • inventory plugin - restore reading auth token from env variables (#315).

New Modules

  • digital_ocean_project_resource_info - Gather information about DigitalOcean Project Resources

v1.24.0

Minor Changes

  • 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).

Bugfixes

  • digital_ocean_domain - fix all_domains by using get_paginated_data to retrieve all of the domains in the account from the paginated domains api endpoint (#307).

v1.23.0

Minor Changes

  • 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).

Bugfixes

  • integration tests - add missing environment directive on pull request integration testing (#293).
  • inventory plugin - bugfix for baseurl parameter (#297).

v1.22.0

Minor Changes

  • 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).

v1.21.0

Minor Changes

  • digital_ocean - add sanity test ignores for Ansible 2.12 and 2.13 (#247).

Bugfixes

  • 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 a dict and call get() on it without first testing it (#272).

v1.20.0

Minor Changes

  • 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.

Bugfixes

  • digital_ocean_droplet - fix regression in droplet deletion where name and unique_name (set to true) are required and id alone is insufficient (though id 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).

v1.19.0

Minor Changes

  • digital_ocean - reference C(DO_API_TOKEN) consistently in module documentation and examples (#248).

Bugfixes

  • 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).

v1.18.0

Minor Changes

  • 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).

v1.17.0

Minor Changes

  • digital_ocean - parameterize the DigitalOcean API base url (#237).

v1.16.0

Minor Changes

  • 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).

Bugfixes

  • digital_ocean_kubernetes - add missing elements type to C(node_pools.tags) and C(node_pools.taints) options (#232).

New Modules

  • digital_ocean_domain_record_info - Gather information about DigitalOcean domain records

v1.15.1

Minor Changes

  • Updates DigitalOcean API documentation links to current domain with working URL anchors (#223).

Bugfixes

  • digital_ocean_droplet - fix reporting of changed state when firewall argument is present (#219).

v1.15.0

Bugfixes

  • digital_ocean_droplet - move Droplet data under "droplet" key in returned payload (#211).

New Modules

  • digital_ocean_spaces - Create and remove DigitalOcean Spaces.
  • digital_ocean_spaces_info - List DigitalOcean Spaces.

v1.14.0

Minor Changes

  • digital_ocean_kubernetes_info - switching C(changed=True) to C(changed=False) since getting information is read-only in nature (#204).

Bugfixes

  • 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).

v1.13.0

Minor Changes

  • 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).

v1.12.0

Minor Changes

  • 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).

Bugfixes

  • 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).

v1.11.0

Minor Changes

  • digitalocean inventory script - add support for Droplet tag filtering (#7).

Bugfixes

  • 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).

v1.10.0

Minor Changes

  • 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).

Bugfixes

  • 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).

New Modules

  • 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

v1.9.0

Minor Changes

  • 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).

Bugfixes

  • 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).

v1.8.0

Minor Changes

  • digital_ocean_database - add support for MongoDB (#124).

Bugfixes

  • digital_ocean - integration tests need community.general and jmespath (#121).
  • digital_ocean_firewall - fixed idempotence (#122).

v1.7.0

Minor Changes

  • digital_ocean_kubernetes - set "latest" as the default version for new clusters (#114).

Bugfixes

  • 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).

New Modules

  • 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

v1.6.0

Bugfixes

  • 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).

New Modules

  • digital_ocean_project - Manage a DigitalOcean project
  • digital_ocean_project_info - Gather information about DigitalOcean Projects

v1.5.1

Bugfixes

  • digitalocean inventory plugin - Wire up advertised caching functionality (#97).

v1.5.0

Minor Changes

  • 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).

Bugfixes

v1.4.2

Bugfixes

  • digital_ocean_droplet - Fixed Droplet inactive state (#88).
  • digital_ocean_sshkey - Fixed SSH Key Traceback Issue (#68).

v1.4.1

Bugfixes

  • digital_ocean_droplet - Add integration tests for Droplet active and inactive states (#66).
  • digital_ocean_droplet - Fix Droplet inactive state (#83).

v1.4.0

Bugfixes

  • 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).

New Modules

  • digital_ocean_droplet_info - Gather information about DigitalOcean Droplets

v1.3.0

New Modules

  • 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

v1.2.0

Minor Changes

  • digital_ocean - ssh_key_ids list entries are now validated to be strings (#13).
  • digital_ocean_droplet - ssh_keys, tags, and volumes list entries are now validated to be strings (#13).
  • digital_ocean_droplet - adding active and inactive states (#23).
  • digital_ocean_droplet - adds Droplet resize functionality (#4).

Bugfixes

  • 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 missing do_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 on do_oauth_token in argument_spec (#13).
  • digital_ocean_floating_ip - fixes idempotence (#5).

New Modules

  • digital_ocean_balance_info - Display DigitalOcean customer balance

v1.1.1

Bugfixes

  • digitalocean - Drop collection version from README.md (#63).

v1.1.0

Minor Changes

  • digital_ocean_block_storage - included ability to resize Block Storage Volumes (#38).

Bugfixes

  • 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).

New Plugins

Inventory

  • digitalocean - DigitalOcean Inventory Plugin

New Modules

  • digital_ocean_domain_record - Manage DigitalOcean domain records
  • digital_ocean_firewall - Manage cloud firewalls within DigitalOcean

v1.0.0

Bugfixes

  • Sanity test documentation fixes (#3).
  • Update docs examples to use FQCN (#14).

v0.1.0

Release Summary

Initial release of the collection after extracing the modules from community.general.