From e0b7be3574c1592e956662d3cddcd1ad7d80985d Mon Sep 17 00:00:00 2001 From: jo Date: Mon, 29 Dec 2025 12:36:15 +0100 Subject: [PATCH] docs: required oneOf --- plugins/modules/primary_ip.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/primary_ip.py b/plugins/modules/primary_ip.py index 11a92f3..b7b185a 100644 --- a/plugins/modules/primary_ip.py +++ b/plugins/modules/primary_ip.py @@ -34,7 +34,7 @@ options: location: description: - ID or name of the Location the Hetzner Cloud Primary IP will be bound to. - - Required if no O(server) is given and Primary IP does not exist. + - Required if no O(server) or O(datacenter) is given and Primary IP does not exist. type: str datacenter: description: @@ -42,7 +42,7 @@ options: after 1 July 2026. Please use the O(location) argument instead. See https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters. - Home Location of the Hetzner Cloud Primary IP. - - Required if no O(server) is given and Primary IP does not exist. + - Required if no O(server) or O(location) is given and Primary IP does not exist. type: str server: description: