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
Jonas L
7c9fbf85a7
feat: rename api_endpoint module argument ( #395 )
...
##### SUMMARY
Make the api endpoint module argument consistent with the api token.
- Renamed the `endpoint` module argument to `api_endpoint`, backward
compatibility is maintained using an alias.
- Allow to configure it using the `HCLOUD_ENDPOINT` env var.
This makes the inventory config and the modules config a bit more
consistent.
##### ISSUE TYPE
- Feature Pull Request
2023-11-21 10:13:21 +01:00
Jonas L
9e0bf59231
docs: add global docs using docsite ( #394 )
...
##### SUMMARY
Add a global documentation for the collection. See the
https://github.com/ansible-collections/collection_template and
https://github.com/ansible-collections/amazon.aws/tree/main/docs/docsite
for examples.
##### ISSUE TYPE
- Docs Pull Request
2023-11-21 09:44:22 +01:00
Jonas L
328dfb8b0f
refactor: start using new modules names ( #393 )
...
##### SUMMARY
Update all references to modules to use the new module names.
Continuation of #390
2023-11-21 09:40:11 +01:00
Jonas L
933a16249b
feat: remove hcloud_
prefix from all modules names ( #390 )
...
##### SUMMARY
This simplifies the name of the modules from
`hetzner.hcloud.hcloud_firewall` to `hetzner.hcloud.firewall`. While
maintaining backward compatibility with the old names.
Further changes such as updating the test or the documentation will be
done in a future PR to maintain the git history when squashing the PRs.
##### ISSUE TYPE
- Feature Pull Request
2023-11-20 13:21:23 +01:00
Simon Haas
ff43534143
docs: fix typo ( #391 )
2023-11-20 12:39:08 +01:00
renovate[bot]
8c846f3b68
deps: update dependency hcloud to v1.32.0 ( #389 )
...
[![Mend Renovate logo
banner](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.31.0` -> `1.32.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/1.32.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/1.32.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/1.31.0/1.32.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/1.31.0/1.32.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>
###
[`v1.32.0`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#1320-2023-11-17 )
[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v1.31.0...v1.32.0 )
##### Features
- allow returning root_password in servers rebuild
([#​276](https://togithub.com/hetznercloud/hcloud-python/issues/276 ))
([38e098a](38e098a411
))
##### Dependencies
- update dependency mypy to >=1.7,<1.8
([#​325](https://togithub.com/hetznercloud/hcloud-python/issues/325 ))
([7b59a2d](7b59a2decc
))
- update pre-commit hook pre-commit/mirrors-prettier to v3.1.0
([#​326](https://togithub.com/hetznercloud/hcloud-python/issues/326 ))
([213b661](213b661d89
))
- update pre-commit hook psf/black-pre-commit-mirror to v23.10.1
([#​322](https://togithub.com/hetznercloud/hcloud-python/issues/322 ))
([999afe3](999afe37e0
))
- update pre-commit hook psf/black-pre-commit-mirror to v23.11.0
([#​324](https://togithub.com/hetznercloud/hcloud-python/issues/324 ))
([7b2a24e](7b2a24ecf6
))
</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>
Co-authored-by: jo <ljonas@riseup.net>
2023-11-20 09:25:57 +01:00
Jonas L
2e82e0e6ef
docs: remove hcloud-python requirements from modules ( #388 )
...
##### SUMMARY
Since we vendored the hcloud-python library, those requirements are not
needed anymore.
##### ISSUE TYPE
- Docs Pull Request
2023-11-17 15:12:52 +01:00
renovate[bot]
c2c7f88b58
deps: update pre-commit hook pre-commit/mirrors-prettier to v3.1.0 ( #387 )
...
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[pre-commit/mirrors-prettier](https://togithub.com/pre-commit/mirrors-prettier )
| repository | minor | `v3.0.3` -> `v3.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>pre-commit/mirrors-prettier
(pre-commit/mirrors-prettier)</summary>
###
[`v3.1.0`](https://togithub.com/pre-commit/mirrors-prettier/compare/v3.0.3...v3.1.0 )
[Compare
Source](https://togithub.com/pre-commit/mirrors-prettier/compare/v3.0.3...v3.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:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 12:29:49 +01:00
renovate[bot]
502c3ac36c
deps: update pre-commit hook psf/black-pre-commit-mirror to v23.11.0 ( #386 )
...
[![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.10.1` -> `23.11.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.11.0`](https://togithub.com/psf/black-pre-commit-mirror/compare/23.10.1...23.11.0 )
[Compare
Source](https://togithub.com/psf/black-pre-commit-mirror/compare/23.10.1...23.11.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:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-08 09:18:57 +01:00
Jonas L
385714463a
chore: don't format changelogs files ( #385 )
...
pre-commit autofixes at slowing down the release process. Let's ignore
the format of the changelog files.
2023-11-07 13:00:15 +01:00
Hetzner Cloud Bot
0e00c9f43b
chore(main): release 2.3.0 ( #382 )
...
🤖 I have created a release *beep* *boop*
---
##
[2.3.0](https://github.com/ansible-collections/hetzner.hcloud/compare/2.2.0...2.3.0 )
(2023-11-07)
### Features
* add `created` field to server and server_info modules
([#381 ](https://github.com/ansible-collections/hetzner.hcloud/issues/381 ))
([c3e4c0e
](c3e4c0ea0a
))
* add server_types to datacenter info module
([#379 ](https://github.com/ansible-collections/hetzner.hcloud/issues/379 ))
([084e04d
](084e04d576
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-07 12:59:43 +01:00
renovate[bot]
5fdba0a70f
deps: update pre-commit hook ansible/ansible-lint to v6.22.0 ( #383 )
...
[![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 | minor | `v6.21.1` -> `v6.22.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>ansible/ansible-lint (ansible/ansible-lint)</summary>
###
[`v6.22.0`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.22.0 )
[Compare
Source](https://togithub.com/ansible/ansible-lint/compare/v6.21.1...v6.22.0 )
#### Minor Changes
- Enable YAML 1.2 support for non-ansible files
([#​3809](https://togithub.com/ansible/ansible-lint/issues/3809 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
#### Bugfixes
- Require ruamel.yaml >= 0.18.5
([#​3880](https://togithub.com/ansible/ansible-lint/issues/3880 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Improve logging regarding to yaml loading and dumping
([#​3875](https://togithub.com/ansible/ansible-lint/issues/3875 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Avoid creating new load method in our custom formatter
([#​3874](https://togithub.com/ansible/ansible-lint/issues/3874 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Support `ruamel-yaml >= 0.18.2`
([#​3869](https://togithub.com/ansible/ansible-lint/issues/3869 ))
[@​hswong3i](https://togithub.com/hswong3i )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 12:34:00 +01:00
urbanekpj
c3e4c0ea0a
feat: add created
field to server and server_info modules ( #381 )
...
##### SUMMARY
Add missing "created" field to ansible result
based on documentation
https://docs.hetzner.cloud/#servers-get-all-servers
```
created
string required
Point in time when the Resource was created (in ISO-8601 format)
```
##### ISSUE TYPE
- Feature Pull Request
##### COMPONENT NAME
hcloud_server_info
hcloud_server
Co-authored-by: Pawel Urbanek <pawel.urbanek@medvc.eu>
2023-11-06 17:10:54 +01:00
Jonas L
084e04d576
feat: add server_types to datacenter info module ( #379 )
...
##### SUMMARY
Closes #204
Return the `server_types` dict when querying the datacenters.
##### ISSUE TYPE
- Feature Pull Request
##### COMPONENT NAME
hcloud_datacenter_info
2023-11-06 15:23:20 +01:00
Jonas L
c491799f6f
docs: fix certificates module options and examples ( #377 )
...
##### SUMMARY
Closes #374
Closes #375
##### ISSUE TYPE
- Docs Pull Request
##### COMPONENT NAME
hcloud_certificates
2023-10-30 17:30:49 +01:00
Jonas L
de1eed9cb5
ci: pin python version to 3.11 ( #378 )
...
##### SUMMARY
This is an attempt to fix the linting job:
https://github.com/ansible-collections/hetzner.hcloud/actions/runs/6692855477/job/18182866932
Run on python 3.11 until the following ticket is solved:
https://github.com/aio-libs/aiohttp/issues/7675
2023-10-30 17:30:11 +01:00
renovate[bot]
96bbcfc507
deps: update pre-commit hook psf/black-pre-commit-mirror to v23.10.1 ( #373 )
...
[![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.10.0` -> `23.10.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.10.1`](https://togithub.com/psf/black-pre-commit-mirror/compare/23.10.0...23.10.1 )
[Compare
Source](https://togithub.com/psf/black-pre-commit-mirror/compare/23.10.0...23.10.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMzEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 10:27:55 +02:00
Hetzner Cloud Bot
0c776c3fc8
chore(main): release 2.2.0 ( #360 )
...
🤖 I have created a release *beep* *boop*
---
##
[2.2.0](https://github.com/ansible-collections/hetzner.hcloud/compare/2.1.2...2.2.0 )
(2023-10-23)
### Features
* add deprecation field to hcloud_iso_info
([#357 ](https://github.com/ansible-collections/hetzner.hcloud/issues/357 ))
([76ef636
](76ef636f07
))
* add load_balancer algorithm option
([#368 ](https://github.com/ansible-collections/hetzner.hcloud/issues/368 ))
([a93dbaa
](a93dbaa428
))
* allow selecting a resource using its ID
([#361 ](https://github.com/ansible-collections/hetzner.hcloud/issues/361 ))
([5e425c5
](5e425c56c2
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-23 16:26:55 +02:00
Jonas L
c336f47f80
test: improve rdns integration using the testing framework ( #372 )
...
##### SUMMARY
Use the new testing framework for the rdns integration tests.
2023-10-23 16:23:33 +02:00
Jonas L
41ea82cc07
refactor: don't use ISO deprecated field ( #371 )
...
##### SUMMARY
The deprecated field is deprecated, we must use the deprecation object
instead.
##### COMPONENT NAME
hcloud_iso_info
2023-10-23 13:36:14 +02:00
renovate[bot]
f35f5009aa
deps: update dependency hcloud to v1.31.0 ( #370 )
...
[![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.30.0` -> `1.31.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/1.31.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/1.31.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/1.30.0/1.31.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/1.30.0/1.31.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>
###
[`v1.31.0`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#1310-2023-10-23 )
[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v1.30.0...v1.31.0 )
##### Features
- prepare for iso deprecated field removal
([#​320](https://togithub.com/hetznercloud/hcloud-python/issues/320 ))
([beae328](beae328dd6
))
##### Dependencies
- update pre-commit hook psf/black-pre-commit-mirror to v23.10.0
([#​319](https://togithub.com/hetznercloud/hcloud-python/issues/319 ))
([184bbe6](184bbe65a7
))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-10-23 11:12:06 +02:00
Jonas L
a93dbaa428
feat: add load_balancer algorithm option ( #368 )
...
##### SUMMARY
Allow to configure load balancers algorithm.
Closes #289
Depends on #367
##### ISSUE TYPE
- Feature Pull Request
##### COMPONENT NAME
hcloud_load_balancer
2023-10-20 12:20:09 +02:00
Jonas L
80d683959b
ci: force push antsibull-changelog changes ( #366 )
...
##### SUMMARY
pre-commit.ci automatically pushes styling commit to the release please
branch and might render the checkout in CI out of sync with the origin.
This makes sure the release-please workflow does not fail by force
pushing to the branch.
2023-10-20 12:19:33 +02:00
renovate[bot]
af5308af92
deps: update pre-commit hook ansible/ansible-lint to v6.21.1 ( #369 )
...
[![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.21.0` -> `v6.21.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.21.1`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.21.1 )
[Compare
Source](https://togithub.com/ansible/ansible-lint/compare/v6.21.0...v6.21.1 )
#### Bugfixes
- Avoid exception caused by accidental unloading of core rules
([#​3857](https://togithub.com/ansible/ansible-lint/issues/3857 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Document pre-commit access to ansible community bundle
([#​3856](https://togithub.com/ansible/ansible-lint/issues/3856 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Fix bug with auto-fix ending too soon
([#​3855](https://togithub.com/ansible/ansible-lint/issues/3855 ))
[@​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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 11:19:38 +02:00
Jonas L
10a3e4f01e
test: rework load_balancer module tests ( #367 )
...
##### SUMMARY
Use the new testing framework and clean up the load_balancer tests.
---------
Co-authored-by: Julian Tölle <julian.toelle97@gmail.com>
2023-10-19 18:14:18 +02:00
renovate[bot]
3058995219
deps: update pre-commit hook ansible/ansible-lint to v6.21.0 ( #365 )
...
[![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 | minor | `v6.20.3` -> `v6.21.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>ansible/ansible-lint (ansible/ansible-lint)</summary>
###
[`v6.21.0`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.21.0 )
[Compare
Source](https://togithub.com/ansible/ansible-lint/compare/v6.20.3...v6.21.0 )
#### Minor Changes
- Allow linting plugin EXAMPLES as playbooks
([#​3309](https://togithub.com/ansible/ansible-lint/issues/3309 ))
[@​Qalthos](https://togithub.com/Qalthos )
#### Bugfixes
- Add support for Rocky
([#​3843](https://togithub.com/ansible/ansible-lint/issues/3843 ))
[@​facorazza](https://togithub.com/facorazza )
- Update supported Ubuntu versions in `meta.json`
([#​3845](https://togithub.com/ansible/ansible-lint/issues/3845 ))
[@​mcdonnnj](https://togithub.com/mcdonnnj )
- Avoid false positives for handler in roles handlers directory
([#​3838](https://togithub.com/ansible/ansible-lint/issues/3838 ))
[@​ajinkyau](https://togithub.com/ajinkyau )
- Hide stacktrace when loading invalid yaml
([#​3844](https://togithub.com/ansible/ansible-lint/issues/3844 ))
[@​ajinkyau](https://togithub.com/ajinkyau )
- Add some platforms to `meta.json`
([#​3841](https://togithub.com/ansible/ansible-lint/issues/3841 ))
[@​mcdonnnj](https://togithub.com/mcdonnnj )
- Temporary avoid auto-fixing YAML files not owned by ansible
([#​3837](https://togithub.com/ansible/ansible-lint/issues/3837 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Add environment variable for skipping schema update
([#​3835](https://togithub.com/ansible/ansible-lint/issues/3835 ))
[@​ajinkyau](https://togithub.com/ajinkyau )
- Avoid creating temporary YAML files inside source tree
([#​3819](https://togithub.com/ansible/ansible-lint/issues/3819 ))
[@​Qalthos](https://togithub.com/Qalthos )
- Document environment variables
([#​3833](https://togithub.com/ansible/ansible-lint/issues/3833 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Update schemas
([#​3832](https://togithub.com/ansible/ansible-lint/issues/3832 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Support complex requirements in argument_specs.yml
([#​3823](https://togithub.com/ansible/ansible-lint/issues/3823 ))
[@​tapetersen](https://togithub.com/tapetersen )
- Fix SARIF-formatter severity levels
([#​3824](https://togithub.com/ansible/ansible-lint/issues/3824 ))
[@​4ch1m](https://togithub.com/4ch1m )
- Add play level autofix for key-order rule
([#​3815](https://togithub.com/ansible/ansible-lint/issues/3815 ))
[@​ajinkyau](https://togithub.com/ajinkyau )
- Add support for python 3.12
([#​3813](https://togithub.com/ansible/ansible-lint/issues/3813 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Update SPDX license list
([#​3814](https://togithub.com/ansible/ansible-lint/issues/3814 ))
[@​ssbarnea](https://togithub.com/ssbarnea )
- Use checkout action in install docs
([#​3810](https://togithub.com/ansible/ansible-lint/issues/3810 ))
[@​gma](https://togithub.com/gma )
- Fix actions-tagger arguments
([#​3808](https://togithub.com/ansible/ansible-lint/issues/3808 ))
[@​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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-10-19 12:41:44 +02:00