Jonas L
cf52215864
chore: add dev target helper ( #457 )
...
##### SUMMARY
Adds a helper to configure the dev env. For example reexporting a
hcloud_token and reload the integration tests configuration:
```bash
export HCLOUD_TOKEN="$(get-tmp-hcloud-token)"
make dev
```
2024-02-06 14:04:18 +01:00
Hetzner Cloud Bot
4db57dcf22
chore(main): release 3.0.0 ( #451 )
...
🤖 I have created a release *beep* *boop*
---
##
[3.0.0](https://github.com/ansible-collections/hetzner.hcloud/compare/2.5.0...3.0.0 )
(2024-02-05)
### ⚠ BREAKING CHANGES
* drop support for ansible-core 2.13
([#450 ](https://github.com/ansible-collections/hetzner.hcloud/issues/450 ))
* always return iso-8601 formatted date time
([#453 ](https://github.com/ansible-collections/hetzner.hcloud/issues/453 ))
* remove inventory `api_token_env` option
([#454 ](https://github.com/ansible-collections/hetzner.hcloud/issues/454 ))
### Features
* drop support for ansible-core 2.13
([#450 ](https://github.com/ansible-collections/hetzner.hcloud/issues/450 ))
([96f8009
](96f8009214
)),
closes
[#400 ](https://github.com/ansible-collections/hetzner.hcloud/issues/400 )
* **inventory:** allow templating instances hostname
([#455 ](https://github.com/ansible-collections/hetzner.hcloud/issues/455 ))
([be404ef
](be404ef181
))
* remove inventory `api_token_env` option
([#454 ](https://github.com/ansible-collections/hetzner.hcloud/issues/454 ))
([d0c82ae
](d0c82aec86
))
### Bug Fixes
* allow renaming networks
([#449 ](https://github.com/ansible-collections/hetzner.hcloud/issues/449 ))
([742cfe6
](742cfe6d74
))
* always return iso-8601 formatted date time
([#453 ](https://github.com/ansible-collections/hetzner.hcloud/issues/453 ))
([55d2616
](55d26162b3
))
* load balancer invalid cookie lifetime value returned
([#452 ](https://github.com/ansible-collections/hetzner.hcloud/issues/452 ))
([86b7662
](86b76620da
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
2024-02-05 16:19:20 +01:00
Jonas L
5358110ed3
test: use longer role namespace to prevent collision ( #456 )
...
##### SUMMARY
Use bigger roles namespace, by using the first 2 chars of each word:
`load_balancer_network` => `lobane`
For example, we have such cases:
- `rdns` => `r` => `rd`
- `route` => `r` => `ro`
2024-02-05 15:41:58 +01:00
Jonas L
be404ef181
feat(inventory): allow templating instances hostname ( #455 )
...
##### SUMMARY
Adds a `hostname` option that allow the user to pass a template to add a
prefix or use the hostvars to build the hostname.
For example:
```yml
plugin: hetzner.hcloud.hcloud
hostname: "hcloud-{{ location }}-{{ name }}"
```
OR with a hostvars_prefix:
```yml
plugin: hetzner.hcloud.hcloud
hostvars_prefix: hcloud_
hostname: "hcloud-{{ hcloud_location }}-{{ hcloud_name }}"
```
Fixes #115
##### ISSUE TYPE
- Feature Pull Request
##### COMPONENT NAME
inventory
2024-02-05 14:32:01 +01:00
Jonas L
96f8009214
feat!: drop support for ansible-core 2.13 ( #450 )
...
##### SUMMARY
ansible-core 2.13 is EOL since 6 November 2023.
Fixes #400
https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
2024-02-05 14:26:04 +01:00
Jonas L
55d26162b3
fix!: always return iso-8601 formatted date time ( #453 )
...
##### SUMMARY
Fixes #91
Always return datetime as iso-8601 formatted strings.
##### ISSUE TYPE
- Bugfix Pull Request
2024-02-05 12:18:53 +01:00
Jonas L
d0c82aec86
feat!: remove inventory api_token_env
option ( #454 )
...
##### SUMMARY
Remove the previously deprecated `api_token_env` to fully leverage the
ansible inventory options loader.
##### ISSUE TYPE
- Feature Pull Request
##### COMPONENT NAME
inventory
2024-02-05 12:18:39 +01:00
Jonas L
86b76620da
fix: load balancer invalid cookie lifetime value returned ( #452 )
...
##### SUMMARY
The load balancer cookie lifetime field now returns the cookie lifetime
value, instead of the cookie name.
##### ISSUE TYPE
- Bugfix Pull Request
##### COMPONENT NAME
load_balancer_info
load_balancer_service
2024-02-05 09:00:26 +01:00
Jonas L
866e0b564e
test: use testing framework for network integration tests ( #448 )
...
##### SUMMARY
Implement the new test framework for the network tests, and reenable the
network tests
2024-02-02 13:42:18 +01:00
Jonas L
742cfe6d74
fix: allow renaming networks ( #449 )
...
##### SUMMARY
The network could not be renamed before. This was discovered while
working on #448
##### ISSUE TYPE
- Feature Pull Request
##### COMPONENT NAME
network
2024-02-02 12:53:54 +01:00
Hetzner Cloud Bot
3d689aa992
chore(main): release 2.5.0 ( #419 )
...
🤖 I have created a release *beep* *boop*
---
##
[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
](4e3f89aed3
))
* allow forcing the deletion of firewalls that are still in use
([#447 ](https://github.com/ansible-collections/hetzner.hcloud/issues/447 ))
([559d315
](559d31561a
))
* improve firewall resources management
([#324 ](https://github.com/ansible-collections/hetzner.hcloud/issues/324 ))
([2757fe7
](2757fe745f
))
* replace `ansible.netcommon` utils with python3 `ipaddress` module
([#416 ](https://github.com/ansible-collections/hetzner.hcloud/issues/416 ))
([4cfdf50
](4cfdf50b26
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
2024-02-02 10:45:50 +01:00
Jonas L
559d31561a
feat: allow forcing the deletion of firewalls that are still in use ( #447 )
...
##### SUMMARY
- Do not silence 'firewall still in use' deletions errors.
- Allow forcing the deletion of a firewall that is still in use.
Fixes #380
##### ISSUE TYPE
- Feature Pull Request
##### COMPONENT NAME
firewall
2024-02-02 09:48:56 +01:00
Jonas L
2757fe745f
feat: improve firewall resources management ( #324 )
...
##### SUMMARY
- 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.
Fixes #111
##### ISSUE TYPE
- Feature Pull Request
##### COMPONENT NAME
firewall
firewall_info
firewall_resource
---------
Co-authored-by: Julian Tölle <julian.toelle97@gmail.com>
2024-02-01 16:50:13 +01:00
renovate[bot]
2ebaa3528f
deps: update dependency antsibull-docs to >=2.7,<2.8 ( #446 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[antsibull-docs](https://togithub.com/ansible-community/antsibull-docs )
| `>=2.6,<2.7` -> `>=2.7,<2.8` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/antsibull-docs/2.7.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/antsibull-docs/2.7.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/antsibull-docs/2.6.1/2.7.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/antsibull-docs/2.6.1/2.7.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>ansible-community/antsibull-docs (antsibull-docs)</summary>
###
[`v2.7.0`](https://togithub.com/ansible-community/antsibull-docs/blob/HEAD/CHANGELOG.rst#v270 )
[Compare
Source](https://togithub.com/ansible-community/antsibull-docs/compare/2.6.1...2.7.0 )
\======
## Release Summary
Bugfix and refactoring release.
## Minor Changes
- Explicitly set up Galaxy context instead of relying on deprecated
functionality
([https://github.com/ansible-community/antsibull-docs/pull/234 ](https://togithub.com/ansible-community/antsibull-docs/pull/234 )).
## Bugfixes
- Fix schema for `seealso` in role entrypoints. Plugin references now
work
([https://github.com/ansible-community/antsibull-docs/issues/237 ](https://togithub.com/ansible-community/antsibull-docs/issues/237 ),
[https://github.com/ansible-community/antsibull-docs/pull/240 ](https://togithub.com/ansible-community/antsibull-docs/pull/240 )).
- Make error reporting for invalid references in `plugin` `seealso`
entries more precise
([https://github.com/ansible-community/antsibull-docs/pull/240 ](https://togithub.com/ansible-community/antsibull-docs/pull/240 )).
- Support new `ansible-doc --json` output field `plugin_name`
([https://github.com/ansible-community/antsibull-docs/pull/242 ](https://togithub.com/ansible-community/antsibull-docs/pull/242 )).
- Use certain fields from library context instead of app context that
are deprecated in the app context and will be removed from
antsibull-core 3.0.0
([https://github.com/ansible-community/antsibull-docs/pull/233 ](https://togithub.com/ansible-community/antsibull-docs/pull/233 )).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 16:30:26 +01:00
renovate[bot]
277fd1cd16
deps: update pre-commit hook ansible/ansible-lint to v6.22.2 ( #441 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [ansible/ansible-lint](https://togithub.com/ansible/ansible-lint ) |
repository | patch | `v6.22.1` -> `v6.22.2` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>ansible/ansible-lint (ansible/ansible-lint)</summary>
###
[`v6.22.2`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.22.2 )
[Compare
Source](https://togithub.com/ansible/ansible-lint/compare/v6.22.1...v6.22.2 )
#### Bugfixes
- Fix key error for name\[casing] rule
([#​3987](https://togithub.com/ansible/ansible-lint/issues/3987 ))
[@​ajinkyau](https://togithub.com/ajinkyau )
- Allow dashes in legacy role namespaces
([#​3962](https://togithub.com/ansible/ansible-lint/issues/3962 ))
[@​sur5r](https://togithub.com/sur5r )
- Use new ansible-compat verbosity levels
([#​3975](https://togithub.com/ansible/ansible-lint/issues/3975 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Remove dependency on newer requests library
([#​3959](https://togithub.com/ansible/ansible-lint/issues/3959 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Ignore set-property for systemd command
([#​3949](https://togithub.com/ansible/ansible-lint/issues/3949 ))
[@​alanbbr](https://togithub.com/alanbbr )
- Correct requires_ansible error message
([#​3954](https://togithub.com/ansible/ansible-lint/issues/3954 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Improve transformation for `no-free-form` rule
([#​3945](https://togithub.com/ansible/ansible-lint/issues/3945 ))
[@​ajinkyau](https://togithub.com/ajinkyau )
- Documentation improvement
([#​3946](https://togithub.com/ansible/ansible-lint/issues/3946 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- docs: fix grammatical issue in philosophy Q\&A section
([#​3934](https://togithub.com/ansible/ansible-lint/issues/3934 ))
[@​davidhulick](https://togithub.com/davidhulick )
- Update supported versions of ansible
([#​3930](https://togithub.com/ansible/ansible-lint/issues/3930 ))
[@​ajinkyau](https://togithub.com/ajinkyau )
- Fix backward compatibility
([#​3929](https://togithub.com/ansible/ansible-lint/issues/3929 ))
[@​McSim85](https://togithub.com/McSim85 )
- Fix auto capitalization for name\[prefix] rule
([#​3922](https://togithub.com/ansible/ansible-lint/issues/3922 ))
[@​ajinkyau](https://togithub.com/ajinkyau )
- Fix role deps check for detecting path names
([#​3923](https://togithub.com/ansible/ansible-lint/issues/3923 ))
[@​cavcrosby](https://togithub.com/cavcrosby )
- Avoid warnings about PATH with pipx installations
([#​3920](https://togithub.com/ansible/ansible-lint/issues/3920 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-01-29 20:04:20 +01:00
renovate[bot]
33c8c79a2d
deps: update pre-commit hook psf/black-pre-commit-mirror to v24.1.1 ( #444 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[psf/black-pre-commit-mirror](https://togithub.com/psf/black-pre-commit-mirror )
| repository | patch | `24.1.0` -> `24.1.1` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>psf/black-pre-commit-mirror
(psf/black-pre-commit-mirror)</summary>
###
[`v24.1.1`](https://togithub.com/psf/black-pre-commit-mirror/compare/24.1.0...24.1.1 )
[Compare
Source](https://togithub.com/psf/black-pre-commit-mirror/compare/24.1.0...24.1.1 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 19:50:18 +01:00
renovate[bot]
c8c32f58f5
deps: update pre-commit hook psf/black-pre-commit-mirror to v24 ( #443 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[psf/black-pre-commit-mirror](https://togithub.com/psf/black-pre-commit-mirror )
| repository | major | `23.12.1` -> `24.1.0` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>psf/black-pre-commit-mirror
(psf/black-pre-commit-mirror)</summary>
###
[`v24.1.0`](https://togithub.com/psf/black-pre-commit-mirror/compare/23.12.1...24.1.0 )
[Compare
Source](https://togithub.com/psf/black-pre-commit-mirror/compare/23.12.1...24.1.0 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-26 11:22:13 +01:00
renovate[bot]
ec80865b7f
deps: update dependency hcloud to v1.33.2 ( #439 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [hcloud](https://togithub.com/hetznercloud/hcloud-python )
([changelog](https://togithub.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md ))
| `1.33.0` -> `1.33.2` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/1.33.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/1.33.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/1.33.0/1.33.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/1.33.0/1.33.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>
###
[`v1.33.2`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#1332-2024-01-02 )
[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v1.33.0...v1.33.2 )
##### Bug Fixes
- publish package to PyPI using OIDC auth
([1a0e93b](1a0e93bbf1
))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-01-03 12:00:33 +01:00
renovate[bot]
a10c1f615d
deps: update pre-commit hook psf/black-pre-commit-mirror to v23.12.1 ( #437 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[psf/black-pre-commit-mirror](https://togithub.com/psf/black-pre-commit-mirror )
| repository | patch | `23.12.0` -> `23.12.1` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>psf/black-pre-commit-mirror
(psf/black-pre-commit-mirror)</summary>
###
[`v23.12.1`](https://togithub.com/psf/black-pre-commit-mirror/compare/23.12.0...23.12.1 )
[Compare
Source](https://togithub.com/psf/black-pre-commit-mirror/compare/23.12.0...23.12.1 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 11:01:14 +01:00
Jonas L
d08708e550
ci: use latest python version for ansible devel jobs ( #436 )
...
##### SUMMARY
For each job, we use the oldest python version supported for the given
ansible-core version. Now, for the ansible-core devel version, we use
the most recent version of python supported.
This ensure that we are compatible with all python version.
2023-12-21 18:28:32 +01:00
Jonas L
9495b9f25a
docs: improve hcloud inventory documentation ( #434 )
...
##### SUMMARY
- Re add some examples that were removed during a dep upgrade.
- Improve link to other reference (plugins/modules/options)
- Remove duplicate docs.
2023-12-21 17:49:24 +01:00
Jonas L
dc75084743
docs: improve firewall module documentation ( #435 )
...
##### SUMMARY
- Improve link to other reference (plugins/modules/options)
- Add details to option description.
- Reorder options for readability
2023-12-21 17:47:56 +01:00
Jonas L
c41ed8bd60
chore: enable docs rstcheck ( #432 )
...
This should catch more RST errors.
2023-12-21 17:44:59 +01:00
Jonas L
4cbf9a2838
refactor: add no return typings ( #433 )
...
Fixes type checking (false unbound variables), for the fail json helper
function that never returns (system exit).
2023-12-21 17:44:42 +01:00
renovate[bot]
b7beb0971f
deps: update dependency hcloud to v1.33.0 ( #430 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [hcloud](https://togithub.com/hetznercloud/hcloud-python )
([changelog](https://togithub.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md ))
| `1.32.0` -> `1.33.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/1.33.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/1.33.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/1.32.0/1.33.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/1.32.0/1.33.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>
###
[`v1.33.0`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#1330-2023-12-19 )
[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v1.32.0...v1.33.0 )
##### Features
- add metrics endpoint for load balancers and servers
([#​331](https://togithub.com/hetznercloud/hcloud-python/issues/331 ))
([ee3c54f](ee3c54fd1b
))
##### Bug Fixes
- fallback to error code when message is unset
([#​328](https://togithub.com/hetznercloud/hcloud-python/issues/328 ))
([1c94153](1c94153d93
))
##### Dependencies
- update actions/setup-python action to v5
([#​335](https://togithub.com/hetznercloud/hcloud-python/issues/335 ))
([2ac252d](2ac252d18b
))
- update dependency sphinx-rtd-theme to v2
([#​330](https://togithub.com/hetznercloud/hcloud-python/issues/330 ))
([7cc4335](7cc4335cac
))
- update pre-commit hook psf/black-pre-commit-mirror to v23.12.0
([#​338](https://togithub.com/hetznercloud/hcloud-python/issues/338 ))
([38e4748](38e4748d3d
))
- update pre-commit hook pycqa/isort to v5.13.0
([#​336](https://togithub.com/hetznercloud/hcloud-python/issues/336 ))
([3244cfe](3244cfef2f
))
- update pre-commit hook pycqa/isort to v5.13.1
([#​337](https://togithub.com/hetznercloud/hcloud-python/issues/337 ))
([020a0ef](020a0eff6b
))
- update pre-commit hook pycqa/isort to v5.13.2
([#​339](https://togithub.com/hetznercloud/hcloud-python/issues/339 ))
([b46df8c](b46df8cbb2
))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-12-19 19:05:57 +01:00
Jonas L
1e6e3a04e3
ci: update release-please-action to v4 ( #429 )
2023-12-19 16:13:41 +01:00
Jonas L
4e3f89aed3
feat: add hostvars_prefix
and hostvars_suffix
options to inventory hostvars ( #423 )
...
##### SUMMARY
Add `hostvars_prefix` and `hostvars_suffix` options to customize the
inventory host variables keys.
For example, with `hostvars_prefix: hcloud_ `, the host vars will be
stored as follows:
```json
{
"_meta": {
"hostvars": {
"tmp": {
"ansible_host": "65.109.169.27",
"hcloud_architecture": "x86",
"hcloud_datacenter": "hel1-dc2",
"hcloud_id": 40573407,
"hcloud_image_id": 114690387,
"hcloud_image_name": "debian-12",
"hcloud_image_os_flavor": "debian",
"hcloud_ipv4": "65.109.169.27",
"hcloud_ipv6_network_mask": "64",
"hcloud_ipv6_network": "2a01:4f9:c012:4377::",
"hcloud_ipv6": "2a01:4f9:c012:4377::1",
"hcloud_labels": {},
"hcloud_location": "hel1",
"hcloud_name": "tmp",
"hcloud_private_networks": [],
"hcloud_server_type": "cx11",
"hcloud_status": "running",
"hcloud_type": "cx11"
}
}
}
}
```
Related to #116
2023-12-15 15:40:37 +01:00
Jonas L
3910785025
test: use testing framework for firewall integration tests ( #425 )
...
##### SUMMARY
Use the new testing framework for the firewall integration tests and fix
linting errors.
2023-12-15 15:25:35 +01:00
Jonas L
86e476f961
test: fix linting error for integrations setup roles ( #426 )
...
##### SUMMARY
Fix ansible lint error for the integrations setup roles.
2023-12-15 15:25:20 +01:00
Jonas L
e4501c1086
refactor: reorder inventory server type host vars ( #427 )
...
Outlines the fact that `type` and `server_type` are the same value.
2023-12-15 15:25:12 +01:00
Jonas L
fe4c924594
test: remove jinja templates where unnecessary ( #420 )
...
Attempt to fix the unsafe condition by removing unnecessary jinja
templates.
Example of failing CI:
https://dev.azure.com/ansible/hetzner.hcloud/_build/results?buildId=98486&view=logs&j=86ea7956-35b6-5577-ed45-fe20f8c6b276&t=a2e51dbe-b8d9-5c65-a584-138300c332b7&l=2562
2023-12-14 18:17:53 +01:00
Jonas L
8f6cde7402
docs: restructure guides documentation ( #422 )
...
##### SUMMARY
Improve the documentation to have `Guides` at sections, and each part in
the guides files as list item.
![image](https://github.com/ansible-collections/hetzner.hcloud/assets/19195485/ca563056-fbf4-4796-8706-b13faf65f10e )
https://docs.ansible.com/ansible/latest/dev_guide/style_guide/index.html#adding-anchors
2023-12-14 18:17:22 +01:00
renovate[bot]
c7a7f0ef31
deps: update pre-commit hook pycqa/isort to v5.13.2 ( #424 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [pycqa/isort](https://togithub.com/pycqa/isort ) | repository | patch |
`5.13.1` -> `5.13.2` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>pycqa/isort (pycqa/isort)</summary>
###
[`v5.13.2`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5132-December-13-2023 )
[Compare
Source](https://togithub.com/pycqa/isort/compare/5.13.1...5.13.2 )
- Apply the bracket fix from issue
[#​471](https://togithub.com/pycqa/isort/issues/471 ) only for
use_parentheses=True
([#​2184](https://togithub.com/pycqa/isort/issues/2184 ))
[@​bp72](https://togithub.com/bp72 )
- Confine pre-commit to stages
([#​2213](https://togithub.com/pycqa/isort/issues/2213 ))
[@​davidculley](https://togithub.com/davidculley )
- Fixed colors extras
([#​2212](https://togithub.com/pycqa/isort/issues/2212 ))
[@​staticdev](https://togithub.com/staticdev )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-14 18:17:10 +01:00
renovate[bot]
c8e6a84b0b
deps: update pre-commit hook psf/black-pre-commit-mirror to v23.12.0 ( #421 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[psf/black-pre-commit-mirror](https://togithub.com/psf/black-pre-commit-mirror )
| repository | minor | `23.11.0` -> `23.12.0` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>psf/black-pre-commit-mirror
(psf/black-pre-commit-mirror)</summary>
###
[`v23.12.0`](https://togithub.com/psf/black-pre-commit-mirror/compare/23.11.0...23.12.0 )
[Compare
Source](https://togithub.com/psf/black-pre-commit-mirror/compare/23.11.0...23.12.0 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 12:57:51 +01:00
Jonas L
4cfdf50b26
feat: replace ansible.netcommon
utils with python3 ipaddress
module ( #416 )
...
##### SUMMARY
Replace `ansible.netcommon` deprecated ipaddr utils with python
`ipaddress` module. The `ansible.netcommon` collection is no longer
required by the collections. We still use the `ansible.utils`
collections for testing
2023-12-12 11:50:45 +01:00
renovate[bot]
b0cb43fe5a
deps: update pre-commit hook pycqa/isort to v5.13.1 ( #417 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [pycqa/isort](https://togithub.com/pycqa/isort ) | repository | patch |
`5.13.0` -> `5.13.1` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>pycqa/isort (pycqa/isort)</summary>
###
[`v5.13.1`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5131-December-11-2023 )
[Compare
Source](https://togithub.com/pycqa/isort/compare/5.13.0...5.13.1 )
- Fixed integration tests
([#​2208](https://togithub.com/pycqa/isort/issues/2208 ))
[@​bp72](https://togithub.com/bp72 )
- Fixed normalizing imports from more than one level of parent modules
(issue/2152)
([#​2191](https://togithub.com/pycqa/isort/issues/2191 ))
[@​bp72](https://togithub.com/bp72 )
- Remove optional dependencies without extras
([#​2207](https://togithub.com/pycqa/isort/issues/2207 ))
[@​staticdev](https://togithub.com/staticdev )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 11:49:00 +01:00
renovate[bot]
b69e0882e8
deps: update actions/setup-python action to v5 ( #412 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-python](https://togithub.com/actions/setup-python ) |
action | major | `v4` -> `v5` |
---
### Release Notes
<details>
<summary>actions/setup-python (actions/setup-python)</summary>
### [`v5`](https://togithub.com/actions/setup-python/compare/v4...v5 )
[Compare
Source](https://togithub.com/actions/setup-python/compare/v4...v5 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 11:55:27 +01:00
renovate[bot]
32f916dd96
deps: update pre-commit hook pycqa/isort to v5.13.0 ( #413 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [pycqa/isort](https://togithub.com/pycqa/isort ) | repository | minor |
`5.12.0` -> `5.13.0` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>pycqa/isort (pycqa/isort)</summary>
###
[`v5.13.0`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5130-December-9-2023 )
[Compare
Source](https://togithub.com/pycqa/isort/compare/5.12.0...5.13.0 )
- Cleanup deprecated extras
([#​2089](https://togithub.com/pycqa/isort/issues/2089 ))
[@​staticdev](https://togithub.com/staticdev )
- Fixed [#​1989](https://togithub.com/pycqa/isort/issues/1989 ):
settings lookup when working in stream based mode
- Fixed 80 line length for wemake linter
([#​2183](https://togithub.com/pycqa/isort/issues/2183 ))
[@​skatromb](https://togithub.com/skatromb )
- Add support for Python 3.12
([#​2175](https://togithub.com/pycqa/isort/issues/2175 ))
[@​hugovk](https://togithub.com/hugovk )
- Fixed: add newest version to pre-commit docs
([#​2190](https://togithub.com/pycqa/isort/issues/2190 ))
[@​AzulGarza](https://togithub.com/AzulGarza )
- Fixed assertions in test_git_hook
([#​2196](https://togithub.com/pycqa/isort/issues/2196 ))
[@​mgorny](https://togithub.com/mgorny )
- Removed check for include_trailing_comma for the Hanging Indent wrap
mode ([#​2192](https://togithub.com/pycqa/isort/issues/2192 ))
[@​bp72](https://togithub.com/bp72 )
- Use the standard library tomllib on sufficiently new python
([#​2202](https://togithub.com/pycqa/isort/issues/2202 ))
[@​eli-schwartz](https://togithub.com/eli-schwartz )
- Update pre-commit.md version number
([#​2197](https://togithub.com/pycqa/isort/issues/2197 ))
[@​nicobako](https://togithub.com/nicobako )
- doc: Update black_compatibility.md
([#​2177](https://togithub.com/pycqa/isort/issues/2177 ))
[@​JSS95](https://togithub.com/JSS95 )
- Fixed safety sept 2023
([#​2178](https://togithub.com/pycqa/isort/issues/2178 ))
[@​staticdev](https://togithub.com/staticdev )
- docs: fix black profile documentation
([#​2163](https://togithub.com/pycqa/isort/issues/2163 ))
[@​nijel](https://togithub.com/nijel )
- Fixed typo: indended -> indented
([#​2161](https://togithub.com/pycqa/isort/issues/2161 ))
[@​vadimkerr](https://togithub.com/vadimkerr )
- Docs(configuration/options.md): fix missing trailing spaces for hard
linebreak ([#​2157](https://togithub.com/pycqa/isort/issues/2157 ))
[@​JoeyTeng](https://togithub.com/JoeyTeng )
- Update pre-commit.md
([#​2148](https://togithub.com/pycqa/isort/issues/2148 ))
[@​godiard](https://togithub.com/godiard )
- chore: move configurations to pyproject.toml
([#​2115](https://togithub.com/pycqa/isort/issues/2115 ))
[@​SauravMaheshkar](https://togithub.com/SauravMaheshkar )
- Fixed typo in README
([#​2112](https://togithub.com/pycqa/isort/issues/2112 ))
[@​stefmolin](https://togithub.com/stefmolin )
- Update version in pre-commit setup to avoid installation issue with
poetry ([#​2103](https://togithub.com/pycqa/isort/issues/2103 ))
[@​stefmolin](https://togithub.com/stefmolin )
- Skip .pytype directory by default.
([#​2098](https://togithub.com/pycqa/isort/issues/2098 ))
[@​manueljacob](https://togithub.com/manueljacob )
- Fixed a tip block styling in the Config Files section
([#​2097](https://togithub.com/pycqa/isort/issues/2097 ))
[@​Klavionik](https://togithub.com/Klavionik )
- Do not cache configuration files
([#​1995](https://togithub.com/pycqa/isort/issues/1995 ))
[@​kaste](https://togithub.com/kaste )
- Derive settings_path from --filename
([#​1992](https://togithub.com/pycqa/isort/issues/1992 ))
[@​kaste](https://togithub.com/kaste )
- Fixed year of version 5.12.0 in CHANGELOG.md
([#​2082](https://togithub.com/pycqa/isort/issues/2082 ))
[@​DjLegolas](https://togithub.com/DjLegolas )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 11:54:36 +01:00
renovate[bot]
71a497c4c5
deps: update dependency antsibull-docs to >=2.6,<2.7 ( #414 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[antsibull-docs](https://togithub.com/ansible-community/antsibull-docs )
| `>=2.5.0,<2.6` -> `>=2.6,<2.7` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/antsibull-docs/2.6.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/antsibull-docs/2.6.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/antsibull-docs/2.5.0/2.6.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/antsibull-docs/2.5.0/2.6.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>ansible-community/antsibull-docs (antsibull-docs)</summary>
###
[`v2.6.0`](https://togithub.com/ansible-community/antsibull-docs/blob/HEAD/CHANGELOG.rst#v260 )
[Compare
Source](https://togithub.com/ansible-community/antsibull-docs/compare/2.5.0...2.6.0 )
\======
## Release Summary
Fix parsing of `EXAMPLES` and improve error message
## Minor Changes
- Improve error messages when calls to `ansible-doc` fail
([https://github.com/ansible-community/antsibull-docs/pull/223 ](https://togithub.com/ansible-community/antsibull-docs/pull/223 )).
## Bugfixes
- When `EXAMPLES` has the format specified by `# fmt: <format>`, this
value is used to determine the code block type
([https://github.com/ansible-community/antsibull-docs/pull/225 ](https://togithub.com/ansible-community/antsibull-docs/pull/225 )).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 11:54:19 +01:00
Jonas L
6471779c2a
docs: create servers with private ips only ( #406 )
...
##### SUMMARY
Add an example to show how to create servers that only have private IPs.
2023-11-29 16:05:14 +01:00
renovate[bot]
8c35ca7fab
deps: update pre-commit hook ansible/ansible-lint to v6.22.1 ( #407 )
...
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [ansible/ansible-lint](https://togithub.com/ansible/ansible-lint ) |
repository | patch | `v6.22.0` -> `v6.22.1` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>ansible/ansible-lint (ansible/ansible-lint)</summary>
###
[`v6.22.1`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.22.1 )
[Compare
Source](https://togithub.com/ansible/ansible-lint/compare/v6.22.0...v6.22.1 )
#### Bugfixes
- Look for ansible binary in the same path as we are
([#​3903](https://togithub.com/ansible/ansible-lint/issues/3903 ))
[@​FliegenKLATSCH](https://togithub.com/FliegenKLATSCH )
- Avoid stacktrace with broken ansible.cfg files
([#​3916](https://togithub.com/ansible/ansible-lint/issues/3916 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Avoid jinja\[invalid] with ansible.builtin.mandatory filter
([#​3917](https://togithub.com/ansible/ansible-lint/issues/3917 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Remove support for deprecated include
([#​3722](https://togithub.com/ansible/ansible-lint/issues/3722 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Fix use of versioned github action
([#​3762](https://togithub.com/ansible/ansible-lint/issues/3762 ))
[@​karl-johan-grahn](https://togithub.com/karl-johan-grahn )
- Fix few URLs in README.md
([#​3915](https://togithub.com/ansible/ansible-lint/issues/3915 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Correct some usage examples for `package_latest`
([#​3914](https://togithub.com/ansible/ansible-lint/issues/3914 ))
[@​pablomh](https://togithub.com/pablomh )
- Add option to allow running with missing plugins and collection
dependencies
([#​3913](https://togithub.com/ansible/ansible-lint/issues/3913 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Avoid warnings from loading of deprecated modules
([#​3715](https://togithub.com/ansible/ansible-lint/issues/3715 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Log ignored exception details to debug log
([#​3900](https://togithub.com/ansible/ansible-lint/issues/3900 ))
[@​bluecmd](https://togithub.com/bluecmd )
- GitHub Action: properly respect the `working_directory` argument
([#​3905](https://togithub.com/ansible/ansible-lint/issues/3905 ))
[@​ptoscano](https://togithub.com/ptoscano )
- Allow to set `max_fail_percentage` as templated integer
([#​3901](https://togithub.com/ansible/ansible-lint/issues/3901 ))
[@​rebtoor](https://togithub.com/rebtoor )
- Fix setuptools-scm versioning
([#​3887](https://togithub.com/ansible/ansible-lint/issues/3887 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Add Fedora 39 to `meta.json`
([#​3893](https://togithub.com/ansible/ansible-lint/issues/3893 ))
[@​jsf9k](https://togithub.com/jsf9k )
- Use python 3.10 as primary version target
([#​3886](https://togithub.com/ansible/ansible-lint/issues/3886 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 15:59:55 +01:00
Hetzner Cloud Bot
359539fdd6
chore(main): release 2.4.1 ( #405 )
...
🤖 I have created a release *beep* *boop*
---
##
[2.4.1](https://github.com/ansible-collections/hetzner.hcloud/compare/2.4.0...2.4.1 )
(2023-11-27)
### Bug Fixes
* **inventory:** always use fresh cache on new cached session
([#404 ](https://github.com/ansible-collections/hetzner.hcloud/issues/404 ))
([df7fa04
](df7fa04149
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
2023-11-27 10:51:12 +01:00
Jonas L
df7fa04149
fix(inventory): always use fresh cache on new cached session ( #404 )
...
##### SUMMARY
The class scoped `cache` dict was being shared across all
`cached_session`, we now make sure that the cache is instance scoped.
Fixes #403
##### ISSUE TYPE
- Bugfix Pull Request
2023-11-24 20:50:43 +01:00
Hetzner Cloud Bot
04f63d0679
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 ).
2023-11-24 14:23:24 +01:00
Jonas L
f85d8f4492
fix(inventory): improve performance ( #402 )
...
##### SUMMARY
Improve the performance of the inventory plugin by:
- Cache client requests
- Move servers `status` filtering to query params.
2023-11-24 13:43:34 +01:00
Jonas L
fb40a00689
refactor: extract client utils in reusable functions ( #399 )
...
##### SUMMARY
Extract some client utils functions in reusable function, to be used in
the inventory plugin.
2023-11-24 12:14:04 +01:00
Jonas L
d3c23d0b86
chore: add makefile ansible-test targets ( #401 )
...
##### SUMMARY
This helps to run sanity/units/integrations tests locally.
2023-11-24 12:13:46 +01:00
Jonas L
df8c3b6a59
refactor: add future annotations imports ( #398 )
...
##### SUMMARY
This adds future annotations imports to benefit from the modern python
typing system.
2023-11-23 14:53:10 +01:00
Jonas L
9905bd0e01
feat(inventory): improve api options ( #397 )
...
##### SUMMARY
- Rename the inventory `token` option to `api_token`, use aliases for
backward compatibility.
- Rename the inventory `token_env` option to `api_token_env`, use
aliases for backward compatibility.
- Deprecate the inventory `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.
- Let ansible parse the options, remove homemade options parsing.
- Improve and document the existing `api_endpoint` option.
##### ISSUE TYPE
- Feature Pull Request
##### COMPONENT NAME
hcloud inventory
2023-11-23 14:29:27 +01:00
Jonas L
6581ed50db
feat: add hetzner.hcloud.all
action group ( #396 )
...
##### SUMMARY
This allows to use `module_defaults` against all the modules at once
using the new `hetzner.hcloud.all` `action_group`.
You can now pass the `api_token` argument using module_defaults:
```yaml
- name: Demonstrate the usage of the 'hetzner.hcloud.all' module_defaults group
hosts: localhost
connection: local
module_defaults:
group/hetzner.hcloud.all:
api_token: "{{ _vault_hcloud_api_token }}"
tasks:
- name: Create a volume
hetzner.hcloud.volume:
name: my-volume
location: fsn1
size: 100
state: present
register: volume
```
See the documentation and examples for more details.
##### ISSUE TYPE
- Feature Pull Request
2023-11-23 14:16:05 +01:00