Commit graph

4 commits

Author SHA1 Message Date
Jonas L
fb8c2a9f58
chore: replace deprecated server type with cx22 (#510)
Learn more:
https://docs.hetzner.cloud/changelog#2024-06-06-old-server-types-with-shared-intel-vcpus-are-deprecated

- Updated docs with newer server types
- Use ARM server type for tests
2024-06-11 15:30:47 +02: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
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
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