1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

docs: update deprecated server types (#718)

The CX Gen 2 and CPX Gen 1 types are deprecated and will be removed from
the API at the end of the year. This replaces all usages in our docs, so
users do not have to figure it out themselves.

Changelog Entry: https://docs.hetzner.cloud/changelog#2025-10-16-server-types-deprecated


Co-authored-by: Petteri Räty <github@petteriraty.eu>
This commit is contained in:
Julian Tölle 2025-10-28 13:45:41 +01:00 committed by GitHub
parent a64fbec0f1
commit 59c539c48b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 22 additions and 22 deletions

View file

@ -38,7 +38,7 @@
- name: Create servers
hetzner.hcloud.server:
name: "{{ item.name }}"
server_type: cx22
server_type: cpx22
image: debian-12
state: present
loop: "{{ servers }}"

View file

@ -31,7 +31,7 @@
- name: Create servers
hetzner.hcloud.server:
name: "{{ item.name }}"
server_type: cx22
server_type: cpx22
image: debian-12
labels:
kind: runners

View file

@ -28,7 +28,7 @@
- name: Create servers without public IPs
hetzner.hcloud.server:
name: "{{ item.name }}"
server_type: cx22
server_type: cpx22
image: debian-12
enable_ipv4: false
enable_ipv6: false

View file

@ -19,7 +19,7 @@
- name: Create a server
hetzner.hcloud.server:
name: my-server
server_type: cx22
server_type: cpx22
image: debian-12
location: fsn1
volumes:

View file

@ -11,7 +11,7 @@
- name: Create new server
hetzner.hcloud.server:
name: my-server
server_type: cx22
server_type: cpx22
image: debian-12
- name: Refresh inventory

View file

@ -10,7 +10,7 @@
- name: Fetch server type info
hetzner.hcloud.server_type_info:
name: cx22
name: cpx22
register: server_type
- name: Ensure server type exists