chore(main): release 2.4.0 (#392)

🤖 I have created a release *beep* *boop*
---


##
[2.4.0](https://github.com/ansible-collections/hetzner.hcloud/compare/2.3.0...2.4.0)
(2023-11-24)


### Features

* add `hetzner.hcloud.all` action group
([#396](https://github.com/ansible-collections/hetzner.hcloud/issues/396))
([6581ed5](6581ed50db))
* **inventory:** improve api options
([#397](https://github.com/ansible-collections/hetzner.hcloud/issues/397))
([9905bd0](9905bd0e01))
* remove `hcloud_` prefix from all modules names
([#390](https://github.com/ansible-collections/hetzner.hcloud/issues/390))
([933a162](933a16249b))
* rename api_endpoint module argument
([#395](https://github.com/ansible-collections/hetzner.hcloud/issues/395))
([7c9fbf8](7c9fbf85a7))


### Bug Fixes

* **inventory:** improve performance
([#402](https://github.com/ansible-collections/hetzner.hcloud/issues/402))
([f85d8f4](f85d8f4492))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
This commit is contained in:
Hetzner Cloud Bot 2023-11-24 14:23:24 +01:00 committed by GitHub
parent f85d8f4492
commit 04f63d0679
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 330 additions and 295 deletions

View file

@ -5,6 +5,21 @@ Hetzner Cloud Ansible Collection Release Notes
.. contents:: Topics
v2.4.0
======
Minor Changes
-------------
- Add the `hetzner.hcloud.all` group to configure all the modules using `module_defaults`.
- Allow to set the `api_endpoint` module argument using the `HCLOUD_ENDPOINT` environment variable.
- Removed the `hcloud_` prefix from all modules names, e.g. `hetzner.hcloud.hcloud_firewall` was renamed to `hetzner.hcloud.firewall`. Old module names will continue working.
- Renamed the `endpoint` module argument to `api_endpoint`, backward compatibility is maintained using an alias.
- hcloud inventory - Add the `api_endpoint` option.
- hcloud inventory - Deprecate the `api_token_env` option, suggest using a lookup plugin (`{{ lookup('ansible.builtin.env', 'YOUR_ENV_VAR') }}`) or use the well-known `HCLOUD_TOKEN` environment variable name.
- hcloud inventory - Rename the `token_env` option to `api_token_env`, use aliases for backward compatibility.
- hcloud inventory - Rename the `token` option to `api_token`, use aliases for backward compatibility.
v2.3.0
======

View file

@ -4,27 +4,25 @@ releases:
modules:
- description: Create and manage cloud Floating IPs on the Hetzner Cloud.
name: hcloud_floating_ip
namespace: ""
namespace: ''
- description: Create and manage cloud Load Balancers on the Hetzner Cloud.
name: hcloud_load_balancer
namespace: ""
- description:
Manage the relationship between Hetzner Cloud Networks and Load
namespace: ''
- description: Manage the relationship between Hetzner Cloud Networks and Load
Balancers
name: hcloud_load_balancer_network
namespace: ""
- description:
Create and manage the services of cloud Load Balancers on the Hetzner
namespace: ''
- description: Create and manage the services of cloud Load Balancers on the Hetzner
Cloud.
name: hcloud_load_balancer_service
namespace: ""
namespace: ''
- description: Manage Hetzner Cloud Load Balancer targets
name: hcloud_load_balancer_target
namespace: ""
namespace: ''
- description: Gather infos about the Hetzner Cloud Load Balancer types.
name: hcloud_load_balancer_type_info
namespace: ""
release_date: "2020-06-29"
namespace: ''
release_date: '2020-06-29'
0.2.0:
changes:
bugfixes:
@ -32,7 +30,7 @@ releases:
was removed by error within the migration from build-in ansible to our collection
fragments:
- inventory-allow-usage-of-pre-migration-configuration-fuiles.yml
release_date: "2020-06-30"
release_date: '2020-06-30'
1.0.0:
changes:
minor_changes:
@ -41,7 +39,7 @@ releases:
fragments:
- gh7-allow-enabling-of-backups-on-server-creation.yml
- lb-allow-change-type.yml
release_date: "2020-08-11"
release_date: '2020-08-11'
1.1.0:
changes:
bugfixes:
@ -55,7 +53,7 @@ releases:
fragments:
- fix-idempotency-floating-ip.yml
- gh-28-allow-setting-of-protection-on-creation.yml
release_date: "2020-10-05"
release_date: '2020-10-05'
1.10.0:
changes:
breaking_changes:
@ -77,7 +75,7 @@ releases:
- inventory-ipv6-adress-variable.yml
- inventory-private-network-info.yml
- server-private-networks-info.yml
release_date: "2023-02-01"
release_date: '2023-02-01'
1.10.1:
changes:
bugfixes:
@ -86,7 +84,7 @@ releases:
fragments:
- server-fix-backups.yml
- server-race-condition-pg-attach.yml
release_date: "2023-04-03"
release_date: '2023-04-03'
1.11.0:
changes:
minor_changes:
@ -98,7 +96,7 @@ releases:
- inventory plugin - Add cpu architecture to server variables.
fragments:
- arm-features.yaml
release_date: "2023-04-11"
release_date: '2023-04-11'
1.12.0:
changes:
breaking_changes:
@ -107,7 +105,7 @@ releases:
- hcloud_server_type_info - Add field included_traffic to returned server types
fragments:
- server-type-included-traffic.yml
release_date: "2023-05-16"
release_date: '2023-05-16'
1.13.0:
changes:
bugfixes:
@ -120,7 +118,7 @@ releases:
- create_primary_ip_info.yml
- server-type-deprecation.yml
- server_error_deprecated_image.yml
release_date: "2023-06-20"
release_date: '2023-06-20'
1.14.0:
changes:
minor_changes:
@ -128,7 +126,7 @@ releases:
- hcloud_network_info Return expose_routes_to_vswitch for network.
fragments:
- add-field-expose_routes_to_vswitch.yml
release_date: "2023-06-22"
release_date: '2023-06-22'
1.15.0:
changes:
bugfixes:
@ -141,7 +139,7 @@ releases:
fragments:
- add-hcloud_iso_info-module.yml
- fix-facts-modules-deprecation.yml
release_date: "2023-07-04"
release_date: '2023-07-04'
1.16.0:
changes:
minor_changes:
@ -150,14 +148,13 @@ releases:
have the hcloud package installed, this dependency should also be installed.
- requests >= 2.20 is now required by the collection. If you already have the
hcloud package installed, this dependency should also be installed.
release_summary:
This release bundles the hcloud dependency in the collection,
release_summary: This release bundles the hcloud dependency in the collection,
this allows us to ship new features or bug fixes without having to release
new major versions and require the users to upgrade their version of the hcloud
dependency.
fragments:
- vendor-hcloud-python-dependency.yml
release_date: "2023-07-13"
release_date: '2023-07-13'
1.2.0:
changes:
minor_changes:
@ -169,13 +166,13 @@ releases:
modules:
- description: Gather infos about your Hetzner Cloud load_balancers.
name: hcloud_load_balancer_info
namespace: ""
release_date: "2020-12-01"
namespace: ''
release_date: '2020-12-01'
1.2.1:
changes:
bugfixes:
- Inventory Restore Python 2.7 compatibility
release_date: "2020-12-16"
release_date: '2020-12-16'
1.3.0:
changes:
minor_changes:
@ -183,8 +180,8 @@ releases:
modules:
- description: Manage Hetzner Cloud Firewalls
name: hcloud_firewall
namespace: ""
release_date: "2021-03-11"
namespace: ''
release_date: '2021-03-11'
1.3.1:
changes:
bugfixes:
@ -192,7 +189,7 @@ releases:
``state=stopped`` (https://github.com/ansible-collections/hetzner.hcloud/issues/54).
fragments:
- 64-hcloud_server_fix_checkmode_state_started.yml
release_date: "2021-03-18"
release_date: '2021-03-18'
1.4.0:
changes:
bugfixes:
@ -207,7 +204,7 @@ releases:
- 70-no_log_security_fixes.yml
- 71-hcloud_firewall_fix_idempotence.yml
- 73-hcloud_load_balancer_service_fix_wrong_import.yml
release_date: "2021-04-06"
release_date: '2021-04-06'
1.4.1:
changes:
minor_changes:
@ -217,7 +214,7 @@ releases:
- inventory - support jinjia templating within `token`
fragments:
- 74-hcloud_server-improve-error-message-images.yml
release_date: "2021-04-07"
release_date: '2021-04-07'
1.4.2:
changes:
bugfixes:
@ -225,7 +222,7 @@ releases:
type
fragments:
- inventory-fix-server-type-wrong-value.yml
release_date: "2021-04-14"
release_date: '2021-04-14'
1.4.3:
changes:
bugfixes:
@ -234,7 +231,7 @@ releases:
fragments:
- hcloud-server-py36.yaml
- hcloud-server-server-type.yaml
release_date: "2021-04-22"
release_date: '2021-04-22'
1.4.4:
changes:
bugfixes:
@ -244,7 +241,7 @@ releases:
fragments:
- hcloud_server-improve-error-message-on-not-existing-firewall.yml
- hcloud_volume-force-detach-before-deletion.yml
release_date: "2021-07-19"
release_date: '2021-07-19'
1.5.0:
changes:
bugfixes:
@ -259,21 +256,21 @@ releases:
- hcloud_placement_group.yml
- hcloud_rdns-improve-validation-of-input.yml
- hcloud_server_default-backups-to-none.yml
release_date: "2021-08-16"
release_date: '2021-08-16'
1.6.0:
changes:
minor_changes:
- hcloud_rdns Add support for load balancer
fragments:
- hcloud_rdns-add-support-for-load-balancers.yml
release_date: "2021-08-17"
release_date: '2021-08-17'
1.7.0:
changes:
minor_changes:
- inventory - support jinjia templating within `network`
fragments:
- inventory-network-templating.yml
release_date: "2022-06-09"
release_date: '2022-06-09'
1.7.1:
changes:
bugfixes:
@ -283,15 +280,15 @@ releases:
fragments:
- hcloud_server_network-alias-ips.yaml
- inventory-filter-by-status.yaml
release_date: "2022-06-13"
release_date: '2022-06-13'
1.8.0:
modules:
- description: Create and manage cloud Primary IPs on the Hetzner Cloud.
name: hcloud_primary_ip
namespace: hetzner.hcloud
release_date: "2022-06-29"
release_date: '2022-06-29'
1.8.1:
release_date: "2022-06-29"
release_date: '2022-06-29'
1.8.2:
changes:
bugfixes:
@ -302,7 +299,7 @@ releases:
fragments:
- flexible-networks-hcloud-server-info.yml
- inventory.yml
release_date: "2022-09-14"
release_date: '2022-09-14'
1.9.0:
changes:
bugfixes:
@ -325,7 +322,7 @@ releases:
- hcloud_inventory.yml
- hcloud_server_backup_window.yml
- hcloud_volume_server_none.yml
release_date: "2022-11-10"
release_date: '2022-11-10'
1.9.1:
changes:
bugfixes:
@ -333,7 +330,7 @@ releases:
were removed when not specified in the hcloud_server resource
fragments:
- hcloud_server-removed-networks.yml
release_date: "2022-12-20"
release_date: '2022-12-20'
2.0.0:
changes:
breaking_changes:
@ -347,8 +344,7 @@ releases:
have the hcloud package installed, this dependency should also be installed.
- requests >= 2.20 is now required by the collection. If you already have the
hcloud package installed, this dependency should also be installed.
release_summary:
This release bundles the hcloud dependency in the collection,
release_summary: This release bundles the hcloud dependency in the collection,
this allows us to ship new features or bug fixes without having to release
new major versions and require the users to upgrade their version of the hcloud
dependency.
@ -367,11 +363,11 @@ releases:
- drop-support-for-python-3.7.yml
- remove-deprecated-facts-modules.yml
- vendor-hcloud-python-dependency.yml
release_date: "2023-07-24"
release_date: '2023-07-24'
2.1.0:
changes:
bugfixes:
- "`*_info` - Consistently fail on invalid ID in `*_info` modules."
- '`*_info` - Consistently fail on invalid ID in `*_info` modules.'
minor_changes:
- Use the collection version in the hcloud user-agent instead of the ansible-core
version.
@ -384,14 +380,14 @@ releases:
- consistently-fail-on-invalid-id.yml
- query-hcloud_floating_ip_info-by-name.yml
- use-collection-version-in-user-agent.yml
release_date: "2023-08-17"
release_date: '2023-08-17'
2.1.1:
changes:
bugfixes:
- hcloud_server - Fix string formatting error on deprecated server type warning
fragments:
- fix-string-formatting-error-on-deprecated-server-type-warning.yml
release_date: "2023-08-23"
release_date: '2023-08-23'
2.1.2:
changes:
bugfixes:
@ -402,7 +398,7 @@ releases:
fragments:
- rename-load-balancer-service-http-health-check-dict.yaml
- require-firewall-port-argument-on-tcp-or-udp-protocol.yaml
release_date: "2023-10-05"
release_date: '2023-10-05'
2.2.0:
changes:
minor_changes:
@ -422,7 +418,7 @@ releases:
fragments:
- add-deprecation-field-to-iso-info.yaml
- allow-selecting-a-resource-using-its-id.yaml
release_date: "2023-10-23"
release_date: '2023-10-23'
2.3.0:
changes:
minor_changes:
@ -432,4 +428,28 @@ releases:
fragments:
- add-server_types-to-datacenter-info.yaml
- add_created_to_server_info.yaml
release_date: "2023-11-07"
release_date: '2023-11-07'
2.4.0:
changes:
minor_changes:
- Add the `hetzner.hcloud.all` group to configure all the modules using `module_defaults`.
- Allow to set the `api_endpoint` module argument using the `HCLOUD_ENDPOINT`
environment variable.
- Removed the `hcloud_` prefix from all modules names, e.g. `hetzner.hcloud.hcloud_firewall`
was renamed to `hetzner.hcloud.firewall`. Old module names will continue working.
- Renamed the `endpoint` module argument to `api_endpoint`, backward compatibility
is maintained using an alias.
- hcloud inventory - Add the `api_endpoint` option.
- hcloud inventory - Deprecate the `api_token_env` option, suggest using a lookup
plugin (`{{ lookup('ansible.builtin.env', 'YOUR_ENV_VAR') }}`) or use the
well-known `HCLOUD_TOKEN` environment variable name.
- hcloud inventory - Rename the `token_env` option to `api_token_env`, use aliases
for backward compatibility.
- hcloud inventory - Rename the `token` option to `api_token`, use aliases for
backward compatibility.
fragments:
- add-module-defaults-group-for-all-modules.yml
- improve-inventory-api-options.yml
- improve-modules-api-arguments.yml
- remove-hcloud-prefix-from-modules-names.yml
release_date: '2023-11-24'

View file

@ -1,5 +1,20 @@
# Changelog
## [2.4.0](https://github.com/ansible-collections/hetzner.hcloud/compare/2.3.0...2.4.0) (2023-11-24)
### Features
* add `hetzner.hcloud.all` action group ([#396](https://github.com/ansible-collections/hetzner.hcloud/issues/396)) ([6581ed5](https://github.com/ansible-collections/hetzner.hcloud/commit/6581ed50db8fd7a3e7525cb364acd63fec256c3a))
* **inventory:** improve api options ([#397](https://github.com/ansible-collections/hetzner.hcloud/issues/397)) ([9905bd0](https://github.com/ansible-collections/hetzner.hcloud/commit/9905bd0e01ca5a21bb2db94f29a4c5276ffc638b))
* remove `hcloud_` prefix from all modules names ([#390](https://github.com/ansible-collections/hetzner.hcloud/issues/390)) ([933a162](https://github.com/ansible-collections/hetzner.hcloud/commit/933a16249bc224ee135fcf28a2ebb9ad34978d85))
* rename api_endpoint module argument ([#395](https://github.com/ansible-collections/hetzner.hcloud/issues/395)) ([7c9fbf8](https://github.com/ansible-collections/hetzner.hcloud/commit/7c9fbf85a734bc7884ff967680beb1fe422dc0ff))
### Bug Fixes
* **inventory:** improve performance ([#402](https://github.com/ansible-collections/hetzner.hcloud/issues/402)) ([f85d8f4](https://github.com/ansible-collections/hetzner.hcloud/commit/f85d8f4492f5c400dfcc4601f8212b6310f5c691))
## [2.3.0](https://github.com/ansible-collections/hetzner.hcloud/compare/2.2.0...2.3.0) (2023-11-07)
### Features

View file

@ -1,2 +0,0 @@
minor_changes:
- Add the `hetzner.hcloud.all` group to configure all the modules using `module_defaults`.

View file

@ -1,7 +0,0 @@
minor_changes:
- hcloud inventory - Rename the `token` option to `api_token`, use aliases for backward compatibility.
- hcloud inventory - Rename the `token_env` option to `api_token_env`, use aliases for backward compatibility.
- hcloud inventory - Add the `api_endpoint` option.
- hcloud inventory - Deprecate the `api_token_env` option, suggest using a lookup
plugin (`{{ lookup('ansible.builtin.env', 'YOUR_ENV_VAR') }}`) or use the
well-known `HCLOUD_TOKEN` environment variable name.

View file

@ -1,3 +0,0 @@
minor_changes:
- Renamed the `endpoint` module argument to `api_endpoint`, backward compatibility is maintained using an alias.
- Allow to set the `api_endpoint` module argument using the `HCLOUD_ENDPOINT` environment variable.

View file

@ -1,3 +0,0 @@
minor_changes:
- Removed the `hcloud_` prefix from all modules names, e.g. `hetzner.hcloud.hcloud_firewall`
was renamed to `hetzner.hcloud.firewall`. Old module names will continue working.

View file

@ -1,6 +1,6 @@
namespace: hetzner
name: hcloud
version: 2.3.0 # x-release-please-version
version: 2.4.0 # x-release-please-version
readme: README.md
authors:
- Hetzner Cloud (github.com/hetznercloud)

View file

@ -1,3 +1,3 @@
from __future__ import annotations
version = "2.3.0" # x-release-please-version
version = "2.4.0" # x-release-please-version