From 2e82e0e6ef69827bcbbccfd83960431934cc4a31 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Fri, 17 Nov 2023 15:12:52 +0100 Subject: [PATCH] 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 --- plugins/inventory/hcloud.py | 4 ++-- plugins/modules/hcloud_floating_ip.py | 4 ---- plugins/modules/hcloud_load_balancer.py | 3 --- plugins/modules/hcloud_load_balancer_network.py | 4 ---- plugins/modules/hcloud_load_balancer_service.py | 3 --- plugins/modules/hcloud_load_balancer_target.py | 4 ---- plugins/modules/hcloud_network.py | 4 ---- plugins/modules/hcloud_placement_group.py | 3 --- plugins/modules/hcloud_primary_ip.py | 4 ---- plugins/modules/hcloud_rdns.py | 4 ---- plugins/modules/hcloud_route.py | 4 ---- plugins/modules/hcloud_server_network.py | 4 ---- plugins/modules/hcloud_subnetwork.py | 4 ---- 13 files changed, 2 insertions(+), 47 deletions(-) diff --git a/plugins/inventory/hcloud.py b/plugins/inventory/hcloud.py index e4710b8..267b894 100644 --- a/plugins/inventory/hcloud.py +++ b/plugins/inventory/hcloud.py @@ -7,8 +7,8 @@ DOCUMENTATION = r""" - Lukas Kaemmerling (@lkaemmerling) short_description: Ansible dynamic inventory plugin for the Hetzner Cloud. requirements: - - python >= 3.5 - - hcloud-python >= 1.0.0 + - python-dateutil >= 2.7.5 + - requests >=2.20 description: - Reads inventories from the Hetzner Cloud API. - Uses a YAML configuration file that ends with hcloud.(yml|yaml). diff --git a/plugins/modules/hcloud_floating_ip.py b/plugins/modules/hcloud_floating_ip.py index d71572b..0e5d8bb 100644 --- a/plugins/modules/hcloud_floating_ip.py +++ b/plugins/modules/hcloud_floating_ip.py @@ -67,12 +67,8 @@ options: choices: [ absent, present ] type: str -requirements: - - hcloud-python >= 1.6.0 - extends_documentation_fragment: - hetzner.hcloud.hcloud - """ EXAMPLES = """ diff --git a/plugins/modules/hcloud_load_balancer.py b/plugins/modules/hcloud_load_balancer.py index 8467e45..456cf1e 100644 --- a/plugins/modules/hcloud_load_balancer.py +++ b/plugins/modules/hcloud_load_balancer.py @@ -69,9 +69,6 @@ options: type: str extends_documentation_fragment: - hetzner.hcloud.hcloud - -requirements: - - hcloud-python >= 1.8.0 """ EXAMPLES = """ diff --git a/plugins/modules/hcloud_load_balancer_network.py b/plugins/modules/hcloud_load_balancer_network.py index 3c2f2f3..b48a0be 100644 --- a/plugins/modules/hcloud_load_balancer_network.py +++ b/plugins/modules/hcloud_load_balancer_network.py @@ -39,12 +39,8 @@ options: choices: [ absent, present ] type: str -requirements: - - hcloud-python >= 1.8.1 - extends_documentation_fragment: - hetzner.hcloud.hcloud - """ EXAMPLES = """ diff --git a/plugins/modules/hcloud_load_balancer_service.py b/plugins/modules/hcloud_load_balancer_service.py index e7be4ab..563dc35 100644 --- a/plugins/modules/hcloud_load_balancer_service.py +++ b/plugins/modules/hcloud_load_balancer_service.py @@ -133,9 +133,6 @@ options: type: str extends_documentation_fragment: - hetzner.hcloud.hcloud - -requirements: - - hcloud-python >= 1.8.1 """ EXAMPLES = """ diff --git a/plugins/modules/hcloud_load_balancer_target.py b/plugins/modules/hcloud_load_balancer_target.py index a920eb6..3112512 100644 --- a/plugins/modules/hcloud_load_balancer_target.py +++ b/plugins/modules/hcloud_load_balancer_target.py @@ -57,12 +57,8 @@ options: choices: [ absent, present ] type: str -requirements: - - hcloud-python >= 1.8.1 - extends_documentation_fragment: - hetzner.hcloud.hcloud - """ EXAMPLES = """ diff --git a/plugins/modules/hcloud_network.py b/plugins/modules/hcloud_network.py index 5af7383..1c090dc 100644 --- a/plugins/modules/hcloud_network.py +++ b/plugins/modules/hcloud_network.py @@ -54,12 +54,8 @@ options: choices: [ absent, present ] type: str -requirements: - - hcloud-python >= 1.3.0 - extends_documentation_fragment: - hetzner.hcloud.hcloud - """ EXAMPLES = """ diff --git a/plugins/modules/hcloud_placement_group.py b/plugins/modules/hcloud_placement_group.py index b1390d4..352785c 100644 --- a/plugins/modules/hcloud_placement_group.py +++ b/plugins/modules/hcloud_placement_group.py @@ -43,9 +43,6 @@ options: choices: [ absent, present ] type: str -requirements: - - hcloud-python >= 1.15.0 - extends_documentation_fragment: - hetzner.hcloud.hcloud """ diff --git a/plugins/modules/hcloud_primary_ip.py b/plugins/modules/hcloud_primary_ip.py index 1d85b28..bab0e2a 100644 --- a/plugins/modules/hcloud_primary_ip.py +++ b/plugins/modules/hcloud_primary_ip.py @@ -59,12 +59,8 @@ options: choices: [ absent, present ] type: str -requirements: - - hcloud-python >= 1.9.0 - extends_documentation_fragment: - hetzner.hcloud.hcloud - """ EXAMPLES = """ diff --git a/plugins/modules/hcloud_rdns.py b/plugins/modules/hcloud_rdns.py index a36ab09..254d4c1 100644 --- a/plugins/modules/hcloud_rdns.py +++ b/plugins/modules/hcloud_rdns.py @@ -51,12 +51,8 @@ options: choices: [ absent, present ] type: str -requirements: - - hcloud-python >= 1.3.0 - extends_documentation_fragment: - hetzner.hcloud.hcloud - """ EXAMPLES = """ diff --git a/plugins/modules/hcloud_route.py b/plugins/modules/hcloud_route.py index 57a58a2..282ae33 100644 --- a/plugins/modules/hcloud_route.py +++ b/plugins/modules/hcloud_route.py @@ -40,12 +40,8 @@ options: choices: [ absent, present ] type: str -requirements: - - hcloud-python >= 1.3.0 - extends_documentation_fragment: - hetzner.hcloud.hcloud - """ EXAMPLES = """ diff --git a/plugins/modules/hcloud_server_network.py b/plugins/modules/hcloud_server_network.py index 1dd485c..45311bb 100644 --- a/plugins/modules/hcloud_server_network.py +++ b/plugins/modules/hcloud_server_network.py @@ -44,12 +44,8 @@ options: choices: [ absent, present ] type: str -requirements: - - hcloud-python >= 1.3.0 - extends_documentation_fragment: - hetzner.hcloud.hcloud - """ EXAMPLES = """ diff --git a/plugins/modules/hcloud_subnetwork.py b/plugins/modules/hcloud_subnetwork.py index c00c07c..07fc9c7 100644 --- a/plugins/modules/hcloud_subnetwork.py +++ b/plugins/modules/hcloud_subnetwork.py @@ -51,12 +51,8 @@ options: choices: [ absent, present ] type: str -requirements: - - hcloud-python >= 1.10.0 - extends_documentation_fragment: - hetzner.hcloud.hcloud - """ EXAMPLES = """