diff --git a/.github/release-please-manifest.json b/.github/release-please-manifest.json index adb1dfd..b2b35cf 100644 --- a/.github/release-please-manifest.json +++ b/.github/release-please-manifest.json @@ -1 +1 @@ -{".":"2.4.1"} +{".":"2.5.0"} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c1d414e..2a40778 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,25 @@ Hetzner Cloud Ansible Collection Release Notes .. contents:: Topics +v2.5.0 +====== + +Minor Changes +------------- + +- Replace deprecated `ansible.netcommon` ip utils with python `ipaddress` module. The `ansible.netcommon` collection is no longer required by the collections. +- firewall - Allow forcing the deletion of firewalls that are still in use. +- firewall - Do not silence 'firewall still in use' delete failures. +- firewall - Return resources the firewall is `applied_to`. +- firewall_info - Add new `firewall_info` module to gather firewalls info. +- firewall_resource - Add new `firewall_resource` module to manage firewalls resources. +- inventory - Add `hostvars_prefix` and hostvars_suffix` options to customize the inventory host variables keys. + +New Modules +----------- + +- firewall_resource - Manage Resources a Hetzner Cloud Firewall is applied to. + v2.4.1 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index f066c26..cba5097 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -461,3 +461,30 @@ releases: fragments: - fix-inventory-fresh-cache.yaml release_date: '2023-11-27' + 2.5.0: + changes: + minor_changes: + - 'Replace deprecated `ansible.netcommon` ip utils with python `ipaddress` module. + The `ansible.netcommon` collection is no longer required by the collections. + + ' + - firewall - Allow forcing the deletion of firewalls that are still in use. + - firewall - Do not silence 'firewall still in use' delete failures. + - firewall - Return resources the firewall is `applied_to`. + - firewall_info - Add new `firewall_info` module to gather firewalls info. + - firewall_resource - Add new `firewall_resource` module to manage firewalls + resources. + - 'inventory - Add `hostvars_prefix` and hostvars_suffix` options to customize + the inventory host variables keys. + + ' + fragments: + - add-inventory-hostvars-prefix-and-suffix-option.yml + - fix-firewall-deletion.yml + - improve-firewall-resources-management.yml + - replace-deprecated-ansible.netcommon-with-python-ipaddress.yml + modules: + - description: Manage Resources a Hetzner Cloud Firewall is applied to. + name: firewall_resource + namespace: '' + release_date: '2024-02-02' diff --git a/changelogs/dev-changelog.md b/changelogs/dev-changelog.md index 905853b..9fbbf81 100644 --- a/changelogs/dev-changelog.md +++ b/changelogs/dev-changelog.md @@ -1,5 +1,15 @@ # Changelog +## [2.5.0](https://github.com/ansible-collections/hetzner.hcloud/compare/2.4.1...2.5.0) (2024-02-02) + + +### Features + +* add `hostvars_prefix` and `hostvars_suffix` options to inventory hostvars ([#423](https://github.com/ansible-collections/hetzner.hcloud/issues/423)) ([4e3f89a](https://github.com/ansible-collections/hetzner.hcloud/commit/4e3f89aed3be6f040e304521d69329c313616df5)) +* allow forcing the deletion of firewalls that are still in use ([#447](https://github.com/ansible-collections/hetzner.hcloud/issues/447)) ([559d315](https://github.com/ansible-collections/hetzner.hcloud/commit/559d31561ad1e0fcf8dd14523bd3eb4262a8a3c1)) +* improve firewall resources management ([#324](https://github.com/ansible-collections/hetzner.hcloud/issues/324)) ([2757fe7](https://github.com/ansible-collections/hetzner.hcloud/commit/2757fe745fcd80409290a453db72e9e6e4016f8f)) +* replace `ansible.netcommon` utils with python3 `ipaddress` module ([#416](https://github.com/ansible-collections/hetzner.hcloud/issues/416)) ([4cfdf50](https://github.com/ansible-collections/hetzner.hcloud/commit/4cfdf50b26536c468705c729cdb48d4b2d421571)) + ## [2.4.1](https://github.com/ansible-collections/hetzner.hcloud/compare/2.4.0...2.4.1) (2023-11-27) diff --git a/changelogs/fragments/add-inventory-hostvars-prefix-and-suffix-option.yml b/changelogs/fragments/add-inventory-hostvars-prefix-and-suffix-option.yml deleted file mode 100644 index 468bbc0..0000000 --- a/changelogs/fragments/add-inventory-hostvars-prefix-and-suffix-option.yml +++ /dev/null @@ -1,4 +0,0 @@ -minor_changes: - - > - inventory - Add `hostvars_prefix` and hostvars_suffix` options to customize the - inventory host variables keys. diff --git a/changelogs/fragments/fix-firewall-deletion.yml b/changelogs/fragments/fix-firewall-deletion.yml deleted file mode 100644 index a9797e3..0000000 --- a/changelogs/fragments/fix-firewall-deletion.yml +++ /dev/null @@ -1,3 +0,0 @@ -minor_changes: - - firewall - Do not silence 'firewall still in use' delete failures. - - firewall - Allow forcing the deletion of firewalls that are still in use. diff --git a/changelogs/fragments/improve-firewall-resources-management.yml b/changelogs/fragments/improve-firewall-resources-management.yml deleted file mode 100644 index ba3c4bc..0000000 --- a/changelogs/fragments/improve-firewall-resources-management.yml +++ /dev/null @@ -1,4 +0,0 @@ -minor_changes: - - firewall - Return resources the firewall is `applied_to`. - - firewall_info - Add new `firewall_info` module to gather firewalls info. - - firewall_resource - Add new `firewall_resource` module to manage firewalls resources. diff --git a/changelogs/fragments/replace-deprecated-ansible.netcommon-with-python-ipaddress.yml b/changelogs/fragments/replace-deprecated-ansible.netcommon-with-python-ipaddress.yml deleted file mode 100644 index 917d293..0000000 --- a/changelogs/fragments/replace-deprecated-ansible.netcommon-with-python-ipaddress.yml +++ /dev/null @@ -1,4 +0,0 @@ -minor_changes: - - > - Replace deprecated `ansible.netcommon` ip utils with python `ipaddress` module. The - `ansible.netcommon` collection is no longer required by the collections. diff --git a/galaxy.yml b/galaxy.yml index fb4c554..98f57cc 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,11 +1,12 @@ namespace: hetzner name: hcloud -version: 2.4.1 # x-release-please-version +version: 2.5.0 readme: README.md authors: - Hetzner Cloud (github.com/hetznercloud) description: A Collection for managing Hetzner Cloud resources -license: [GPL-3.0-or-later] +license: + - GPL-3.0-or-later tags: - hetzner - cloud diff --git a/plugins/module_utils/version.py b/plugins/module_utils/version.py index 81af7db..e78c320 100644 --- a/plugins/module_utils/version.py +++ b/plugins/module_utils/version.py @@ -1,3 +1,3 @@ from __future__ import annotations -version = "2.4.1" # x-release-please-version +version = "2.5.0" # x-release-please-version