Commit graph

389 commits

Author SHA1 Message Date
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
([#&#8203;2089](https://togithub.com/pycqa/isort/issues/2089))
[@&#8203;staticdev](https://togithub.com/staticdev)
- Fixed [#&#8203;1989](https://togithub.com/pycqa/isort/issues/1989):
settings lookup when working in stream based mode
- Fixed 80 line length for wemake linter
([#&#8203;2183](https://togithub.com/pycqa/isort/issues/2183))
[@&#8203;skatromb](https://togithub.com/skatromb)
- Add support for Python 3.12
([#&#8203;2175](https://togithub.com/pycqa/isort/issues/2175))
[@&#8203;hugovk](https://togithub.com/hugovk)
- Fixed: add newest version to pre-commit docs
([#&#8203;2190](https://togithub.com/pycqa/isort/issues/2190))
[@&#8203;AzulGarza](https://togithub.com/AzulGarza)
- Fixed assertions in test_git_hook
([#&#8203;2196](https://togithub.com/pycqa/isort/issues/2196))
[@&#8203;mgorny](https://togithub.com/mgorny)
- Removed check for include_trailing_comma for the Hanging Indent wrap
mode ([#&#8203;2192](https://togithub.com/pycqa/isort/issues/2192))
[@&#8203;bp72](https://togithub.com/bp72)
- Use the standard library tomllib on sufficiently new python
([#&#8203;2202](https://togithub.com/pycqa/isort/issues/2202))
[@&#8203;eli-schwartz](https://togithub.com/eli-schwartz)
- Update pre-commit.md version number
([#&#8203;2197](https://togithub.com/pycqa/isort/issues/2197))
[@&#8203;nicobako](https://togithub.com/nicobako)
- doc: Update black_compatibility.md
([#&#8203;2177](https://togithub.com/pycqa/isort/issues/2177))
[@&#8203;JSS95](https://togithub.com/JSS95)
- Fixed safety sept 2023
([#&#8203;2178](https://togithub.com/pycqa/isort/issues/2178))
[@&#8203;staticdev](https://togithub.com/staticdev)
- docs: fix black profile documentation
([#&#8203;2163](https://togithub.com/pycqa/isort/issues/2163))
[@&#8203;nijel](https://togithub.com/nijel)
- Fixed typo: indended -> indented
([#&#8203;2161](https://togithub.com/pycqa/isort/issues/2161))
[@&#8203;vadimkerr](https://togithub.com/vadimkerr)
- Docs(configuration/options.md): fix missing trailing spaces for hard
linebreak ([#&#8203;2157](https://togithub.com/pycqa/isort/issues/2157))
[@&#8203;JoeyTeng](https://togithub.com/JoeyTeng)
- Update pre-commit.md
([#&#8203;2148](https://togithub.com/pycqa/isort/issues/2148))
[@&#8203;godiard](https://togithub.com/godiard)
- chore: move configurations to pyproject.toml
([#&#8203;2115](https://togithub.com/pycqa/isort/issues/2115))
[@&#8203;SauravMaheshkar](https://togithub.com/SauravMaheshkar)
- Fixed typo in README
([#&#8203;2112](https://togithub.com/pycqa/isort/issues/2112))
[@&#8203;stefmolin](https://togithub.com/stefmolin)
- Update version in pre-commit setup to avoid installation issue with
poetry ([#&#8203;2103](https://togithub.com/pycqa/isort/issues/2103))
[@&#8203;stefmolin](https://togithub.com/stefmolin)
- Skip .pytype directory by default.
([#&#8203;2098](https://togithub.com/pycqa/isort/issues/2098))
[@&#8203;manueljacob](https://togithub.com/manueljacob)
- Fixed a tip block styling in the Config Files section
([#&#8203;2097](https://togithub.com/pycqa/isort/issues/2097))
[@&#8203;Klavionik](https://togithub.com/Klavionik)
- Do not cache configuration files
([#&#8203;1995](https://togithub.com/pycqa/isort/issues/1995))
[@&#8203;kaste](https://togithub.com/kaste)
- Derive settings_path from --filename
([#&#8203;1992](https://togithub.com/pycqa/isort/issues/1992))
[@&#8203;kaste](https://togithub.com/kaste)
- Fixed year of version 5.12.0 in CHANGELOG.md
([#&#8203;2082](https://togithub.com/pycqa/isort/issues/2082))
[@&#8203;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
([#&#8203;3903](https://togithub.com/ansible/ansible-lint/issues/3903))
[@&#8203;FliegenKLATSCH](https://togithub.com/FliegenKLATSCH)
- Avoid stacktrace with broken ansible.cfg files
([#&#8203;3916](https://togithub.com/ansible/ansible-lint/issues/3916))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Avoid jinja\[invalid] with ansible.builtin.mandatory filter
([#&#8203;3917](https://togithub.com/ansible/ansible-lint/issues/3917))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Remove support for deprecated include
([#&#8203;3722](https://togithub.com/ansible/ansible-lint/issues/3722))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Fix use of versioned github action
([#&#8203;3762](https://togithub.com/ansible/ansible-lint/issues/3762))
[@&#8203;karl-johan-grahn](https://togithub.com/karl-johan-grahn)
- Fix few URLs in README.md
([#&#8203;3915](https://togithub.com/ansible/ansible-lint/issues/3915))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Correct some usage examples for `package_latest`
([#&#8203;3914](https://togithub.com/ansible/ansible-lint/issues/3914))
[@&#8203;pablomh](https://togithub.com/pablomh)
- Add option to allow running with missing plugins and collection
dependencies
([#&#8203;3913](https://togithub.com/ansible/ansible-lint/issues/3913))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Avoid warnings from loading of deprecated modules
([#&#8203;3715](https://togithub.com/ansible/ansible-lint/issues/3715))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Log ignored exception details to debug log
([#&#8203;3900](https://togithub.com/ansible/ansible-lint/issues/3900))
[@&#8203;bluecmd](https://togithub.com/bluecmd)
- GitHub Action: properly respect the `working_directory` argument
([#&#8203;3905](https://togithub.com/ansible/ansible-lint/issues/3905))
[@&#8203;ptoscano](https://togithub.com/ptoscano)
- Allow to set `max_fail_percentage` as templated integer
([#&#8203;3901](https://togithub.com/ansible/ansible-lint/issues/3901))
[@&#8203;rebtoor](https://togithub.com/rebtoor)
- Fix setuptools-scm versioning
([#&#8203;3887](https://togithub.com/ansible/ansible-lint/issues/3887))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Add Fedora 39 to `meta.json`
([#&#8203;3893](https://togithub.com/ansible/ansible-lint/issues/3893))
[@&#8203;jsf9k](https://togithub.com/jsf9k)
- Use python 3.10 as primary version target
([#&#8203;3886](https://togithub.com/ansible/ansible-lint/issues/3886))
[@&#8203;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
([#&#8203;276](https://togithub.com/hetznercloud/hcloud-python/issues/276))
([38e098a](38e098a411))

##### Dependencies

- update dependency mypy to >=1.7,<1.8
([#&#8203;325](https://togithub.com/hetznercloud/hcloud-python/issues/325))
([7b59a2d](7b59a2decc))
- update pre-commit hook pre-commit/mirrors-prettier to v3.1.0
([#&#8203;326](https://togithub.com/hetznercloud/hcloud-python/issues/326))
([213b661](213b661d89))
- update pre-commit hook psf/black-pre-commit-mirror to v23.10.1
([#&#8203;322](https://togithub.com/hetznercloud/hcloud-python/issues/322))
([999afe3](999afe37e0))
- update pre-commit hook psf/black-pre-commit-mirror to v23.11.0
([#&#8203;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
([#&#8203;3809](https://togithub.com/ansible/ansible-lint/issues/3809))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)

#### Bugfixes

- Require ruamel.yaml >= 0.18.5
([#&#8203;3880](https://togithub.com/ansible/ansible-lint/issues/3880))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Improve logging regarding to yaml loading and dumping
([#&#8203;3875](https://togithub.com/ansible/ansible-lint/issues/3875))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Avoid creating new load method in our custom formatter
([#&#8203;3874](https://togithub.com/ansible/ansible-lint/issues/3874))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Support `ruamel-yaml >= 0.18.2`
([#&#8203;3869](https://togithub.com/ansible/ansible-lint/issues/3869))
[@&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;3857](https://togithub.com/ansible/ansible-lint/issues/3857))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Document pre-commit access to ansible community bundle
([#&#8203;3856](https://togithub.com/ansible/ansible-lint/issues/3856))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Fix bug with auto-fix ending too soon
([#&#8203;3855](https://togithub.com/ansible/ansible-lint/issues/3855))
[@&#8203;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
([#&#8203;3309](https://togithub.com/ansible/ansible-lint/issues/3309))
[@&#8203;Qalthos](https://togithub.com/Qalthos)

#### Bugfixes

- Add support for Rocky
([#&#8203;3843](https://togithub.com/ansible/ansible-lint/issues/3843))
[@&#8203;facorazza](https://togithub.com/facorazza)
- Update supported Ubuntu versions in `meta.json`
([#&#8203;3845](https://togithub.com/ansible/ansible-lint/issues/3845))
[@&#8203;mcdonnnj](https://togithub.com/mcdonnnj)
- Avoid false positives for handler in roles handlers directory
([#&#8203;3838](https://togithub.com/ansible/ansible-lint/issues/3838))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Hide stacktrace when loading invalid yaml
([#&#8203;3844](https://togithub.com/ansible/ansible-lint/issues/3844))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Add some platforms to `meta.json`
([#&#8203;3841](https://togithub.com/ansible/ansible-lint/issues/3841))
[@&#8203;mcdonnnj](https://togithub.com/mcdonnnj)
- Temporary avoid auto-fixing YAML files not owned by ansible
([#&#8203;3837](https://togithub.com/ansible/ansible-lint/issues/3837))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Add environment variable for skipping schema update
([#&#8203;3835](https://togithub.com/ansible/ansible-lint/issues/3835))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Avoid creating temporary YAML files inside source tree
([#&#8203;3819](https://togithub.com/ansible/ansible-lint/issues/3819))
[@&#8203;Qalthos](https://togithub.com/Qalthos)
- Document environment variables
([#&#8203;3833](https://togithub.com/ansible/ansible-lint/issues/3833))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Update schemas
([#&#8203;3832](https://togithub.com/ansible/ansible-lint/issues/3832))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Support complex requirements in argument_specs.yml
([#&#8203;3823](https://togithub.com/ansible/ansible-lint/issues/3823))
[@&#8203;tapetersen](https://togithub.com/tapetersen)
- Fix SARIF-formatter severity levels
([#&#8203;3824](https://togithub.com/ansible/ansible-lint/issues/3824))
[@&#8203;4ch1m](https://togithub.com/4ch1m)
- Add play level autofix for key-order rule
([#&#8203;3815](https://togithub.com/ansible/ansible-lint/issues/3815))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Add support for python 3.12
([#&#8203;3813](https://togithub.com/ansible/ansible-lint/issues/3813))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Update SPDX license list
([#&#8203;3814](https://togithub.com/ansible/ansible-lint/issues/3814))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Use checkout action in install docs
([#&#8203;3810](https://togithub.com/ansible/ansible-lint/issues/3810))
[@&#8203;gma](https://togithub.com/gma)
- Fix actions-tagger arguments
([#&#8203;3808](https://togithub.com/ansible/ansible-lint/issues/3808))
[@&#8203;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
renovate[bot]
f43ac5bab7
deps: update pre-commit hook psf/black-pre-commit-mirror to v23.10.0 (#364)
[![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.9.1` -> `23.10.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.10.0`](https://togithub.com/psf/black-pre-commit-mirror/compare/23.9.1...23.10.0)

[Compare
Source](https://togithub.com/psf/black-pre-commit-mirror/compare/23.9.1...23.10.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 11:22:26 +02:00
Jonas L
5e425c56c2
feat: allow selecting a resource using its ID (#361)
##### SUMMARY

Allow referring to resources using their IDs for:
- hcloud_load_balancer_network
- hcloud_load_balancer_service
- hcloud_load_balancer_target
- hcloud_rdns
- hcloud_route
- hcloud_server_network
- hcloud_subnetwork


##### ISSUE TYPE

- Feature Pull Request


##### COMPONENT NAME
- hcloud_load_balancer_network
- hcloud_load_balancer_service
- hcloud_load_balancer_target
- hcloud_rdns
- hcloud_route
- hcloud_server_network
- hcloud_subnetwork
2023-10-18 10:28:42 +02:00
Jonas L
bd93d2caf8
ci: reduce usage when pushing release-please updates (#362)
##### SUMMARY

Disable azure pipelines for draft pull requests and ask release-please
to create draft pull requests. This should reduce the amount of CI usage
around the release please workflow.
2023-10-18 10:27:13 +02:00
Jonas L
4342c6ffc6
chore: update galaxy version badge url (#363)
##### SUMMARY

Use the new API to have up-to-date versions badge.
2023-10-18 10:26:59 +02:00
Jonas L
4044980477
test: fix vswitch subnets ip_range (#359)
##### SUMMARY

The vswitch subnet validation changed: the subnet ip_range must be
smaller than the network ip_range **AND** must not start with the same
IP.
 
See
https://github.com/ansible-collections/hetzner.hcloud/runs/17672011247

In addition, I reworked the tests to use the new testing framework.
2023-10-17 09:18:26 +02:00
Jonas L
76ef636f07
feat: add deprecation field to hcloud_iso_info (#357)
##### SUMMARY

See these changelog entries for the announcement:

-
https://docs.hetzner.cloud/changelog#2023-10-12-deprecation-info-for-isos
-
https://docs.hetzner.cloud/changelog#2023-10-12-field-deprecated-on-isos-is-now-deprecated


##### ISSUE TYPE

- Feature Pull Request


##### COMPONENT NAME
hcloud_iso_info
2023-10-16 11:16:31 +02:00
renovate[bot]
11ffbd9d43
deps: update dependency hcloud to v1.30.0 (#358)
[![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.29.1` -> `1.30.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/1.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/1.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/1.29.1/1.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/1.29.1/1.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the
Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v1.30.0`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#1300-2023-10-13)

[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v1.29.1...v1.30.0)

##### Features

- add deprecation field to Iso
([#&#8203;318](https://togithub.com/hetznercloud/hcloud-python/issues/318))
([036b52f](036b52fe51))
- support python 3.12
([#&#8203;311](https://togithub.com/hetznercloud/hcloud-python/issues/311))
([7e8cd1d](7e8cd1d92e))

##### Dependencies

- update dependency mypy to >=1.6,<1.7
([#&#8203;317](https://togithub.com/hetznercloud/hcloud-python/issues/317))
([d248bbd](d248bbd4e5))
- update dependency pylint to v3
([#&#8203;307](https://togithub.com/hetznercloud/hcloud-python/issues/307))
([277841d](277841dd84))
- update pre-commit hook asottile/pyupgrade to v3.14.0
([#&#8203;308](https://togithub.com/hetznercloud/hcloud-python/issues/308))
([07a4513](07a4513e28))
- update pre-commit hook asottile/pyupgrade to v3.15.0
([#&#8203;312](https://togithub.com/hetznercloud/hcloud-python/issues/312))
([c544639](c5446394ac))
- update pre-commit hook pre-commit/pre-commit-hooks to v4.5.0
([#&#8203;313](https://togithub.com/hetznercloud/hcloud-python/issues/313))
([e51eaa9](e51eaa9903))
- update python docker tag to v3.12
([#&#8203;309](https://togithub.com/hetznercloud/hcloud-python/issues/309))
([3a1ee67](3a1ee675f2))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy44LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNy44LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-10-13 16:26:39 +02:00
Jonas L
654ec14310
chore: update renovate bot config (#355) 2023-10-12 10:16:48 +02:00
Jonas L
79d52d3621
chore: add venv dependency to lint-docs target (#350)
##### SUMMARY

Missing venv when running lint-docs from a clean repo.
2023-10-09 13:42:59 +02:00
Jonas L
74f6eff294
chore: update pre-commit hooks (#354) 2023-10-09 13:42:43 +02:00
renovate[bot]
6def71a3cf
deps: update pre-commit hook asottile/pyupgrade to v3.15.0 (#351)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [asottile/pyupgrade](https://togithub.com/asottile/pyupgrade) |
repository | minor | `v3.14.0` -> `v3.15.0` |

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the
Dependency Dashboard for more information.

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>asottile/pyupgrade (asottile/pyupgrade)</summary>

###
[`v3.15.0`](https://togithub.com/asottile/pyupgrade/compare/v3.14.0...v3.15.0)

[Compare
Source](https://togithub.com/asottile/pyupgrade/compare/v3.14.0...v3.15.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-09 11:49:08 +02:00