From 3b0807ad7b283c46c21862eb826dcbb4ad04e5e2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 18 Apr 2024 07:52:27 +0200 Subject: Merging upstream version 9.4.0+dfsg. Signed-off-by: Daniel Baumann --- ansible_collections/hetzner/hcloud/.ansible-lint | 27 + .../hcloud/.azure-pipelines/azure-pipelines.yml | 184 +- .../.azure-pipelines/scripts/aggregate-coverage.sh | 8 +- .../.azure-pipelines/scripts/combine-coverage.py | 27 +- .../.azure-pipelines/scripts/publish-codecov.sh | 26 +- .../.azure-pipelines/scripts/report-coverage.sh | 10 +- .../hcloud/.azure-pipelines/scripts/run-tests.sh | 24 +- .../.azure-pipelines/scripts/time-command.py | 11 +- .../hcloud/.azure-pipelines/templates/matrix.yml | 14 +- .../hcloud/.azure-pipelines/templates/test.yml | 68 +- ansible_collections/hetzner/hcloud/.flake8 | 3 + .../hcloud/.github/release-please-config.json | 15 + .../hcloud/.github/release-please-manifest.json | 1 + .../workflows/check-changelog-fragments.yml | 20 - .../hetzner/hcloud/.github/workflows/lint.yml | 25 + .../hcloud/.github/workflows/release-please.yml | 74 + .../hetzner/hcloud/.github/workflows/stale.yml | 13 + .../hetzner/hcloud/.github/workflows/vendor.yml | 26 + ansible_collections/hetzner/hcloud/.gitignore | 4 +- ansible_collections/hetzner/hcloud/.gitlab-ci.yml | 14 +- .../hetzner/hcloud/.pre-commit-config.yaml | 85 + ansible_collections/hetzner/hcloud/CHANGELOG.rst | 202 ++ ansible_collections/hetzner/hcloud/COPYING | 1 - ansible_collections/hetzner/hcloud/FILES.json | 3168 +++++++++++++++----- ansible_collections/hetzner/hcloud/MANIFEST.json | 8 +- ansible_collections/hetzner/hcloud/Makefile | 42 + ansible_collections/hetzner/hcloud/README.md | 28 +- .../hetzner/hcloud/changelogs/changelog.yaml | 215 ++ .../hetzner/hcloud/changelogs/config.yaml | 32 +- .../hetzner/hcloud/changelogs/dev-changelog.md | 64 + .../hetzner/hcloud/docs/docsite/extra-docs.yml | 5 + .../hetzner/hcloud/docs/docsite/links.yml | 10 + .../hetzner/hcloud/docs/docsite/rst/guides.rst | 50 + .../hetzner/hcloud/examples/inventory.hcloud.yml | 7 + .../hcloud/examples/server-with-firewall.yml | 62 + .../examples/server-with-private-ip-only.yml | 50 + .../hcloud/examples/use-module-defaults-group.yml | 27 + .../hcloud/examples/use-refresh-inventory.yml | 35 + .../hetzner/hcloud/meta/runtime.yml | 137 +- .../hetzner/hcloud/plugins/__init__.py | 0 .../hetzner/hcloud/plugins/doc_fragments/hcloud.py | 46 +- .../hetzner/hcloud/plugins/inventory/hcloud.py | 659 ++-- .../hetzner/hcloud/plugins/module_utils/client.py | 108 + .../hetzner/hcloud/plugins/module_utils/hcloud.py | 116 +- .../hcloud/plugins/module_utils/vendor/__init__.py | 0 .../plugins/module_utils/vendor/hcloud/__init__.py | 7 + .../plugins/module_utils/vendor/hcloud/_client.py | 236 ++ .../module_utils/vendor/hcloud/_exceptions.py | 17 + .../plugins/module_utils/vendor/hcloud/_version.py | 3 + .../module_utils/vendor/hcloud/actions/__init__.py | 14 + .../module_utils/vendor/hcloud/actions/client.py | 166 + .../module_utils/vendor/hcloud/actions/domain.py | 89 + .../vendor/hcloud/certificates/__init__.py | 13 + .../vendor/hcloud/certificates/client.py | 371 +++ .../vendor/hcloud/certificates/domain.py | 133 + .../module_utils/vendor/hcloud/core/__init__.py | 4 + .../module_utils/vendor/hcloud/core/client.py | 98 + .../module_utils/vendor/hcloud/core/domain.py | 84 + .../vendor/hcloud/datacenters/__init__.py | 8 + .../vendor/hcloud/datacenters/client.py | 121 + .../vendor/hcloud/datacenters/domain.py | 60 + .../vendor/hcloud/deprecation/__init__.py | 3 + .../vendor/hcloud/deprecation/domain.py | 36 + .../vendor/hcloud/firewalls/__init__.py | 11 + .../module_utils/vendor/hcloud/firewalls/client.py | 501 ++++ .../module_utils/vendor/hcloud/firewalls/domain.py | 221 ++ .../vendor/hcloud/floating_ips/__init__.py | 8 + .../vendor/hcloud/floating_ips/client.py | 459 +++ .../vendor/hcloud/floating_ips/domain.py | 109 + .../plugins/module_utils/vendor/hcloud/hcloud.py | 12 + .../module_utils/vendor/hcloud/helpers/__init__.py | 3 + .../module_utils/vendor/hcloud/helpers/labels.py | 46 + .../module_utils/vendor/hcloud/images/__init__.py | 4 + .../module_utils/vendor/hcloud/images/client.py | 393 +++ .../module_utils/vendor/hcloud/images/domain.py | 134 + .../module_utils/vendor/hcloud/isos/__init__.py | 4 + .../module_utils/vendor/hcloud/isos/client.py | 128 + .../module_utils/vendor/hcloud/isos/domain.py | 69 + .../vendor/hcloud/load_balancer_types/__init__.py | 8 + .../vendor/hcloud/load_balancer_types/client.py | 89 + .../vendor/hcloud/load_balancer_types/domain.py | 57 + .../vendor/hcloud/load_balancers/__init__.py | 25 + .../vendor/hcloud/load_balancers/client.py | 939 ++++++ .../vendor/hcloud/load_balancers/domain.py | 537 ++++ .../vendor/hcloud/locations/__init__.py | 4 + .../module_utils/vendor/hcloud/locations/client.py | 82 + .../module_utils/vendor/hcloud/locations/domain.py | 56 + .../module_utils/vendor/hcloud/metrics/__init__.py | 3 + .../module_utils/vendor/hcloud/metrics/domain.py | 49 + .../vendor/hcloud/networks/__init__.py | 9 + .../module_utils/vendor/hcloud/networks/client.py | 556 ++++ .../module_utils/vendor/hcloud/networks/domain.py | 150 + .../vendor/hcloud/placement_groups/__init__.py | 8 + .../vendor/hcloud/placement_groups/client.py | 214 ++ .../vendor/hcloud/placement_groups/domain.py | 75 + .../vendor/hcloud/primary_ips/__init__.py | 4 + .../vendor/hcloud/primary_ips/client.py | 361 +++ .../vendor/hcloud/primary_ips/domain.py | 113 + .../plugins/module_utils/vendor/hcloud/py.typed | 1 + .../vendor/hcloud/server_types/__init__.py | 8 + .../vendor/hcloud/server_types/client.py | 84 + .../vendor/hcloud/server_types/domain.py | 85 + .../module_utils/vendor/hcloud/servers/__init__.py | 17 + .../module_utils/vendor/hcloud/servers/client.py | 1265 ++++++++ .../module_utils/vendor/hcloud/servers/domain.py | 455 +++ .../vendor/hcloud/ssh_keys/__init__.py | 4 + .../module_utils/vendor/hcloud/ssh_keys/client.py | 194 ++ .../module_utils/vendor/hcloud/ssh_keys/domain.py | 44 + .../module_utils/vendor/hcloud/volumes/__init__.py | 4 + .../module_utils/vendor/hcloud/volumes/client.py | 458 +++ .../module_utils/vendor/hcloud/volumes/domain.py | 113 + .../hetzner/hcloud/plugins/module_utils/version.py | 3 + .../hetzner/hcloud/plugins/modules/certificate.py | 289 ++ .../hcloud/plugins/modules/certificate_info.py | 162 + .../hcloud/plugins/modules/datacenter_info.py | 192 ++ .../hetzner/hcloud/plugins/modules/firewall.py | 438 +++ .../hcloud/plugins/modules/firewall_info.py | 246 ++ .../hcloud/plugins/modules/firewall_resource.py | 243 ++ .../hetzner/hcloud/plugins/modules/floating_ip.py | 340 +++ .../hcloud/plugins/modules/floating_ip_info.py | 180 ++ .../hcloud/plugins/modules/hcloud_certificate.py | 291 -- .../plugins/modules/hcloud_certificate_info.py | 162 - .../plugins/modules/hcloud_datacenter_facts.py | 160 - .../plugins/modules/hcloud_datacenter_info.py | 160 - .../hcloud/plugins/modules/hcloud_firewall.py | 359 --- .../hcloud/plugins/modules/hcloud_floating_ip.py | 355 --- .../plugins/modules/hcloud_floating_ip_facts.py | 185 -- .../plugins/modules/hcloud_floating_ip_info.py | 185 -- .../hcloud/plugins/modules/hcloud_image_facts.py | 219 -- .../hcloud/plugins/modules/hcloud_image_info.py | 219 -- .../hcloud/plugins/modules/hcloud_load_balancer.py | 318 -- .../plugins/modules/hcloud_load_balancer_info.py | 398 --- .../modules/hcloud_load_balancer_network.py | 209 -- .../modules/hcloud_load_balancer_service.py | 620 ---- .../plugins/modules/hcloud_load_balancer_target.py | 321 -- .../modules/hcloud_load_balancer_type_info.py | 158 - .../plugins/modules/hcloud_location_facts.py | 159 - .../hcloud/plugins/modules/hcloud_location_info.py | 159 - .../hcloud/plugins/modules/hcloud_network.py | 243 -- .../hcloud/plugins/modules/hcloud_network_info.py | 293 -- .../plugins/modules/hcloud_placement_group.py | 230 -- .../hcloud/plugins/modules/hcloud_primary_ip.py | 271 -- .../hetzner/hcloud/plugins/modules/hcloud_rdns.py | 360 --- .../hetzner/hcloud/plugins/modules/hcloud_route.py | 196 -- .../hcloud/plugins/modules/hcloud_server.py | 928 ------ .../hcloud/plugins/modules/hcloud_server_facts.py | 244 -- .../hcloud/plugins/modules/hcloud_server_info.py | 244 -- .../plugins/modules/hcloud_server_network.py | 246 -- .../plugins/modules/hcloud_server_type_facts.py | 183 -- .../plugins/modules/hcloud_server_type_info.py | 183 -- .../hcloud/plugins/modules/hcloud_ssh_key.py | 243 -- .../hcloud/plugins/modules/hcloud_ssh_key_facts.py | 169 -- .../hcloud/plugins/modules/hcloud_ssh_key_info.py | 169 -- .../hcloud/plugins/modules/hcloud_subnetwork.py | 247 -- .../hcloud/plugins/modules/hcloud_volume.py | 340 --- .../hcloud/plugins/modules/hcloud_volume_facts.py | 186 -- .../hcloud/plugins/modules/hcloud_volume_info.py | 186 -- .../hetzner/hcloud/plugins/modules/image_info.py | 209 ++ .../hetzner/hcloud/plugins/modules/iso_info.py | 206 ++ .../hcloud/plugins/modules/load_balancer.py | 340 +++ .../hcloud/plugins/modules/load_balancer_info.py | 424 +++ .../plugins/modules/load_balancer_network.py | 203 ++ .../plugins/modules/load_balancer_service.py | 578 ++++ .../hcloud/plugins/modules/load_balancer_target.py | 313 ++ .../plugins/modules/load_balancer_type_info.py | 161 + .../hcloud/plugins/modules/location_info.py | 145 + .../hetzner/hcloud/plugins/modules/network.py | 259 ++ .../hetzner/hcloud/plugins/modules/network_info.py | 296 ++ .../hcloud/plugins/modules/placement_group.py | 220 ++ .../hetzner/hcloud/plugins/modules/primary_ip.py | 260 ++ .../hcloud/plugins/modules/primary_ip_info.py | 203 ++ .../hetzner/hcloud/plugins/modules/rdns.py | 360 +++ .../hetzner/hcloud/plugins/modules/route.py | 190 ++ .../hetzner/hcloud/plugins/modules/server.py | 952 ++++++ .../hetzner/hcloud/plugins/modules/server_info.py | 238 ++ .../hcloud/plugins/modules/server_network.py | 246 ++ .../hcloud/plugins/modules/server_type_info.py | 204 ++ .../hetzner/hcloud/plugins/modules/ssh_key.py | 234 ++ .../hetzner/hcloud/plugins/modules/ssh_key_info.py | 156 + .../hetzner/hcloud/plugins/modules/subnetwork.py | 236 ++ .../hetzner/hcloud/plugins/modules/volume.py | 331 ++ .../hetzner/hcloud/plugins/modules/volume_info.py | 174 ++ ansible_collections/hetzner/hcloud/pyproject.toml | 28 + ansible_collections/hetzner/hcloud/renovate.json | 12 + .../hetzner/hcloud/requirements.txt | 12 + .../hcloud/scripts/integration-test-files.sh | 28 + .../hetzner/hcloud/scripts/vendor.py | 114 + .../hetzner/hcloud/tests/config.yml | 3 + .../hetzner/hcloud/tests/constraints.txt | 2 + .../hetzner/hcloud/tests/integration/README.md | 27 + .../integration/common/defaults/main/common.yml | 9 + .../hcloud/tests/integration/common/tasks/main.yml | 28 + .../hcloud/tests/integration/constraints.txt | 1 - .../hcloud/tests/integration/requirements.txt | 5 +- .../tests/integration/targets/certificate/aliases | 2 + .../targets/certificate/defaults/main/common.yml | 12 + .../targets/certificate/defaults/main/main.yml | 5 + .../integration/targets/certificate/meta/main.yml | 3 + .../targets/certificate/tasks/cleanup.yml | 5 + .../integration/targets/certificate/tasks/main.yml | 31 + .../integration/targets/certificate/tasks/test.yml | 155 + .../integration/targets/certificate_info/aliases | 2 + .../certificate_info/defaults/main/common.yml | 12 + .../certificate_info/defaults/main/main.yml | 4 + .../targets/certificate_info/meta/main.yml | 3 + .../targets/certificate_info/tasks/cleanup.yml | 5 + .../targets/certificate_info/tasks/main.yml | 31 + .../targets/certificate_info/tasks/prepare.yml | 10 + .../targets/certificate_info/tasks/test.yml | 77 + .../integration/targets/datacenter_info/aliases | 2 + .../datacenter_info/defaults/main/common.yml | 12 + .../targets/datacenter_info/defaults/main/main.yml | 6 + .../targets/datacenter_info/tasks/main.yml | 31 + .../targets/datacenter_info/tasks/test.yml | 58 + .../tests/integration/targets/firewall/aliases | 2 + .../targets/firewall/defaults/main/common.yml | 12 + .../targets/firewall/defaults/main/main.yml | 5 + .../integration/targets/firewall/tasks/cleanup.yml | 10 + .../integration/targets/firewall/tasks/main.yml | 31 + .../integration/targets/firewall/tasks/prepare.yml | 8 + .../integration/targets/firewall/tasks/test.yml | 197 ++ .../integration/targets/firewall_info/aliases | 2 + .../targets/firewall_info/defaults/main/common.yml | 12 + .../targets/firewall_info/defaults/main/main.yml | 5 + .../targets/firewall_info/tasks/cleanup.yml | 10 + .../targets/firewall_info/tasks/main.yml | 31 + .../targets/firewall_info/tasks/prepare.yml | 35 + .../targets/firewall_info/tasks/test.yml | 93 + .../integration/targets/firewall_resource/aliases | 2 + .../firewall_resource/defaults/main/common.yml | 12 + .../firewall_resource/defaults/main/main.yml | 5 + .../targets/firewall_resource/tasks/cleanup.yml | 10 + .../targets/firewall_resource/tasks/main.yml | 31 + .../targets/firewall_resource/tasks/prepare.yml | 25 + .../targets/firewall_resource/tasks/test.yml | 95 + .../tests/integration/targets/floating_ip/aliases | 2 + .../targets/floating_ip/defaults/main/common.yml | 12 + .../targets/floating_ip/defaults/main/main.yml | 5 + .../integration/targets/floating_ip/tasks/main.yml | 31 + .../integration/targets/floating_ip/tasks/test.yml | 484 +++ .../integration/targets/floating_ip_info/aliases | 2 + .../floating_ip_info/defaults/main/common.yml | 12 + .../floating_ip_info/defaults/main/main.yml | 4 + .../targets/floating_ip_info/tasks/cleanup.yml | 5 + .../targets/floating_ip_info/tasks/main.yml | 31 + .../targets/floating_ip_info/tasks/prepare.yml | 9 + .../targets/floating_ip_info/tasks/test.yml | 77 + .../integration/targets/hcloud_certificate/aliases | 2 - .../targets/hcloud_certificate/defaults/main.yml | 6 - .../targets/hcloud_certificate/meta/main.yml | 5 - .../targets/hcloud_certificate/tasks/main.yml | 155 - .../targets/hcloud_certificate_info/aliases | 2 - .../hcloud_certificate_info/defaults/main.yml | 5 - .../targets/hcloud_certificate_info/meta/main.yml | 4 - .../targets/hcloud_certificate_info/tasks/main.yml | 66 - .../targets/hcloud_datacenter_info/aliases | 2 - .../hcloud_datacenter_info/defaults/main.yml | 6 - .../targets/hcloud_datacenter_info/meta/main.yml | 3 - .../targets/hcloud_datacenter_info/tasks/main.yml | 39 - .../integration/targets/hcloud_firewall/aliases | 2 - .../targets/hcloud_firewall/defaults/main.yml | 5 - .../targets/hcloud_firewall/meta/main.yml | 3 - .../targets/hcloud_firewall/tasks/main.yml | 210 -- .../integration/targets/hcloud_floating_ip/aliases | 2 - .../targets/hcloud_floating_ip/defaults/main.yml | 6 - .../targets/hcloud_floating_ip/meta/main.yml | 3 - .../targets/hcloud_floating_ip/tasks/main.yml | 470 --- .../targets/hcloud_floating_ip_info/aliases | 2 - .../hcloud_floating_ip_info/defaults/main.yml | 5 - .../targets/hcloud_floating_ip_info/meta/main.yml | 3 - .../targets/hcloud_floating_ip_info/tasks/main.yml | 87 - .../integration/targets/hcloud_image_info/aliases | 2 - .../targets/hcloud_image_info/defaults/main.yml | 7 - .../targets/hcloud_image_info/meta/main.yml | 3 - .../targets/hcloud_image_info/tasks/main.yml | 93 - .../targets/hcloud_load_balancer/aliases | 2 - .../targets/hcloud_load_balancer/defaults/main.yml | 5 - .../targets/hcloud_load_balancer/meta/main.yml | 3 - .../targets/hcloud_load_balancer/tasks/main.yml | 247 -- .../targets/hcloud_load_balancer_info/aliases | 2 - .../hcloud_load_balancer_info/defaults/main.yml | 6 - .../hcloud_load_balancer_info/meta/main.yml | 3 - .../hcloud_load_balancer_info/tasks/main.yml | 128 - .../targets/hcloud_load_balancer_network/aliases | 2 - .../hcloud_load_balancer_network/defaults/main.yml | 6 - .../hcloud_load_balancer_network/meta/main.yml | 3 - .../hcloud_load_balancer_network/tasks/main.yml | 181 -- .../targets/hcloud_load_balancer_service/aliases | 2 - .../hcloud_load_balancer_service/defaults/main.yml | 5 - .../hcloud_load_balancer_service/meta/main.yml | 3 - .../hcloud_load_balancer_service/tasks/main.yml | 126 - .../targets/hcloud_load_balancer_target/aliases | 2 - .../hcloud_load_balancer_target/defaults/main.yml | 7 - .../hcloud_load_balancer_target/meta/main.yml | 3 - .../hcloud_load_balancer_target/tasks/main.yml | 154 - .../targets/hcloud_load_balancer_type_info/aliases | 2 - .../defaults/main.yml | 5 - .../hcloud_load_balancer_type_info/meta/main.yml | 3 - .../hcloud_load_balancer_type_info/tasks/main.yml | 38 - .../targets/hcloud_location_info/aliases | 2 - .../targets/hcloud_location_info/defaults/main.yml | 5 - .../targets/hcloud_location_info/meta/main.yml | 3 - .../targets/hcloud_location_info/tasks/main.yml | 57 - .../integration/targets/hcloud_network/aliases | 3 - .../targets/hcloud_network/defaults/main.yml | 5 - .../targets/hcloud_network/meta/main.yml | 3 - .../targets/hcloud_network/tasks/main.yml | 215 -- .../targets/hcloud_network_info/aliases | 2 - .../targets/hcloud_network_info/defaults/main.yml | 5 - .../targets/hcloud_network_info/meta/main.yml | 3 - .../targets/hcloud_network_info/tasks/main.yml | 117 - .../targets/hcloud_placement_group/aliases | 2 - .../hcloud_placement_group/defaults/main.yml | 6 - .../targets/hcloud_placement_group/meta/main.yml | 3 - .../targets/hcloud_placement_group/tasks/main.yml | 169 -- .../integration/targets/hcloud_primary_ip/aliases | 2 - .../targets/hcloud_primary_ip/defaults/main.yml | 6 - .../targets/hcloud_primary_ip/meta/main.yml | 3 - .../targets/hcloud_primary_ip/tasks/main.yml | 243 -- .../tests/integration/targets/hcloud_rdns/aliases | 2 - .../targets/hcloud_rdns/defaults/main.yml | 8 - .../integration/targets/hcloud_rdns/meta/main.yml | 3 - .../integration/targets/hcloud_rdns/tasks/main.yml | 224 -- .../tests/integration/targets/hcloud_route/aliases | 2 - .../targets/hcloud_route/defaults/main.yml | 5 - .../integration/targets/hcloud_route/meta/main.yml | 3 - .../targets/hcloud_route/tasks/main.yml | 99 - .../integration/targets/hcloud_server/aliases | 2 - .../targets/hcloud_server/defaults/main.yml | 8 - .../targets/hcloud_server/meta/main.yml | 3 - .../targets/hcloud_server/tasks/basic.yml | 615 ---- .../targets/hcloud_server/tasks/firewalls.yml | 105 - .../targets/hcloud_server/tasks/main.yml | 8 - .../targets/hcloud_server/tasks/primary_ips.yml | 82 - .../hcloud_server/tasks/private_network_only.yml | 135 - .../targets/hcloud_server/tasks/validation.yml | 51 - .../integration/targets/hcloud_server_info/aliases | 2 - .../targets/hcloud_server_info/defaults/main.yml | 5 - .../targets/hcloud_server_info/meta/main.yml | 3 - .../targets/hcloud_server_info/tasks/main.yml | 128 - .../targets/hcloud_server_network/aliases | 3 - .../hcloud_server_network/defaults/main.yml | 6 - .../targets/hcloud_server_network/meta/main.yml | 3 - .../targets/hcloud_server_network/tasks/main.yml | 222 -- .../targets/hcloud_server_type_info/aliases | 2 - .../hcloud_server_type_info/defaults/main.yml | 5 - .../targets/hcloud_server_type_info/meta/main.yml | 3 - .../targets/hcloud_server_type_info/tasks/main.yml | 38 - .../integration/targets/hcloud_ssh_key/aliases | 2 - .../targets/hcloud_ssh_key/defaults/main.yml | 11 - .../targets/hcloud_ssh_key/meta/main.yml | 5 - .../targets/hcloud_ssh_key/tasks/main.yml | 156 - .../targets/hcloud_ssh_key_info/aliases | 2 - .../targets/hcloud_ssh_key_info/defaults/main.yml | 5 - .../targets/hcloud_ssh_key_info/meta/main.yml | 5 - .../targets/hcloud_ssh_key_info/tasks/main.yml | 68 - .../integration/targets/hcloud_subnetwork/aliases | 2 - .../targets/hcloud_subnetwork/defaults/main.yml | 6 - .../targets/hcloud_subnetwork/meta/main.yml | 3 - .../targets/hcloud_subnetwork/tasks/main.yml | 125 - .../integration/targets/hcloud_volume/aliases | 2 - .../targets/hcloud_volume/defaults/main.yml | 6 - .../targets/hcloud_volume/meta/main.yml | 3 - .../targets/hcloud_volume/tasks/main.yml | 289 -- .../integration/targets/hcloud_volume_info/aliases | 2 - .../targets/hcloud_volume_info/defaults/main.yml | 5 - .../targets/hcloud_volume_info/meta/main.yml | 3 - .../targets/hcloud_volume_info/tasks/main.yml | 101 - .../tests/integration/targets/image_info/aliases | 2 + .../targets/image_info/defaults/main/common.yml | 12 + .../targets/image_info/defaults/main/main.yml | 6 + .../integration/targets/image_info/meta/main.yml | 3 + .../targets/image_info/tasks/cleanup.yml | 5 + .../integration/targets/image_info/tasks/main.yml | 31 + .../targets/image_info/tasks/prepare.yml | 23 + .../integration/targets/image_info/tasks/test.yml | 104 + .../tests/integration/targets/iso_info/aliases | 2 + .../targets/iso_info/defaults/main/common.yml | 12 + .../targets/iso_info/defaults/main/main.yml | 7 + .../integration/targets/iso_info/tasks/main.yml | 31 + .../integration/targets/iso_info/tasks/test.yml | 73 + .../integration/targets/load_balancer/aliases | 2 + .../targets/load_balancer/defaults/main/common.yml | 12 + .../targets/load_balancer/defaults/main/main.yml | 4 + .../targets/load_balancer/tasks/cleanup.yml | 5 + .../targets/load_balancer/tasks/main.yml | 31 + .../targets/load_balancer/tasks/test.yml | 145 + .../integration/targets/load_balancer_info/aliases | 2 + .../load_balancer_info/defaults/main/common.yml | 12 + .../load_balancer_info/defaults/main/main.yml | 5 + .../targets/load_balancer_info/meta/main.yml | 0 .../targets/load_balancer_info/tasks/cleanup.yml | 10 + .../targets/load_balancer_info/tasks/main.yml | 31 + .../targets/load_balancer_info/tasks/prepare.yml | 33 + .../targets/load_balancer_info/tasks/test.yml | 86 + .../targets/load_balancer_network/aliases | 2 + .../load_balancer_network/defaults/main/common.yml | 12 + .../load_balancer_network/defaults/main/main.yml | 5 + .../targets/load_balancer_network/tasks/main.yml | 31 + .../targets/load_balancer_network/tasks/test.yml | 181 ++ .../targets/load_balancer_service/aliases | 2 + .../load_balancer_service/defaults/main/common.yml | 12 + .../load_balancer_service/defaults/main/main.yml | 4 + .../targets/load_balancer_service/tasks/main.yml | 31 + .../targets/load_balancer_service/tasks/test.yml | 126 + .../targets/load_balancer_target/aliases | 2 + .../load_balancer_target/defaults/main/common.yml | 12 + .../load_balancer_target/defaults/main/main.yml | 7 + .../targets/load_balancer_target/tasks/main.yml | 31 + .../targets/load_balancer_target/tasks/test.yml | 154 + .../targets/load_balancer_type_info/aliases | 2 + .../defaults/main/common.yml | 12 + .../load_balancer_type_info/defaults/main/main.yml | 5 + .../targets/load_balancer_type_info/tasks/main.yml | 31 + .../targets/load_balancer_type_info/tasks/test.yml | 56 + .../integration/targets/location_info/aliases | 2 + .../targets/location_info/defaults/main/common.yml | 12 + .../targets/location_info/defaults/main/main.yml | 5 + .../targets/location_info/tasks/main.yml | 31 + .../targets/location_info/tasks/test.yml | 56 + .../tests/integration/targets/network/aliases | 3 + .../targets/network/defaults/main/common.yml | 12 + .../targets/network/defaults/main/main.yml | 5 + .../integration/targets/network/tasks/main.yml | 31 + .../integration/targets/network/tasks/test.yml | 268 ++ .../tests/integration/targets/network_info/aliases | 2 + .../targets/network_info/defaults/main/common.yml | 12 + .../targets/network_info/defaults/main/main.yml | 4 + .../targets/network_info/tasks/cleanup.yml | 5 + .../targets/network_info/tasks/main.yml | 31 + .../targets/network_info/tasks/prepare.yml | 23 + .../targets/network_info/tasks/test.yml | 79 + .../integration/targets/placement_group/aliases | 2 + .../placement_group/defaults/main/common.yml | 12 + .../targets/placement_group/defaults/main/main.yml | 6 + .../targets/placement_group/meta/main.yml | 3 + .../targets/placement_group/tasks/cleanup.yml | 5 + .../targets/placement_group/tasks/main.yml | 31 + .../targets/placement_group/tasks/prepare.yml | 6 + .../targets/placement_group/tasks/test.yml | 169 ++ .../tests/integration/targets/primary_ip/aliases | 2 + .../targets/primary_ip/defaults/main/common.yml | 12 + .../targets/primary_ip/defaults/main/main.yml | 5 + .../integration/targets/primary_ip/tasks/main.yml | 31 + .../integration/targets/primary_ip/tasks/test.yml | 248 ++ .../integration/targets/primary_ip_info/aliases | 2 + .../primary_ip_info/defaults/main/common.yml | 12 + .../targets/primary_ip_info/defaults/main/main.yml | 4 + .../targets/primary_ip_info/tasks/cleanup.yml | 5 + .../targets/primary_ip_info/tasks/main.yml | 31 + .../targets/primary_ip_info/tasks/prepare.yml | 9 + .../targets/primary_ip_info/tasks/test.yml | 77 + .../hcloud/tests/integration/targets/rdns/aliases | 2 + .../targets/rdns/defaults/main/common.yml | 12 + .../targets/rdns/defaults/main/main.yml | 8 + .../integration/targets/rdns/tasks/cleanup.yml | 20 + .../tests/integration/targets/rdns/tasks/main.yml | 31 + .../integration/targets/rdns/tasks/prepare.yml | 32 + .../tests/integration/targets/rdns/tasks/test.yml | 148 + .../hcloud/tests/integration/targets/route/aliases | 2 + .../targets/route/defaults/main/common.yml | 12 + .../targets/route/defaults/main/main.yml | 4 + .../tests/integration/targets/route/tasks/main.yml | 31 + .../tests/integration/targets/route/tasks/test.yml | 99 + .../tests/integration/targets/server/aliases | 2 + .../targets/server/defaults/main/common.yml | 12 + .../targets/server/defaults/main/main.yml | 8 + .../tests/integration/targets/server/meta/main.yml | 3 + .../integration/targets/server/tasks/cleanup.yml | 5 + .../integration/targets/server/tasks/main.yml | 31 + .../integration/targets/server/tasks/prepare.yml | 6 + .../integration/targets/server/tasks/test.yml | 8 + .../targets/server/tasks/test_basic.yml | 613 ++++ .../targets/server/tasks/test_firewalls.yml | 105 + .../targets/server/tasks/test_primary_ips.yml | 82 + .../server/tasks/test_private_network_only.yml | 135 + .../targets/server/tasks/test_validation.yml | 51 + .../tests/integration/targets/server_info/aliases | 2 + .../targets/server_info/defaults/main/common.yml | 12 + .../targets/server_info/defaults/main/main.yml | 4 + .../targets/server_info/tasks/cleanup.yml | 10 + .../integration/targets/server_info/tasks/main.yml | 31 + .../targets/server_info/tasks/prepare.yml | 22 + .../integration/targets/server_info/tasks/test.yml | 89 + .../integration/targets/server_network/aliases | 3 + .../server_network/defaults/main/common.yml | 12 + .../targets/server_network/defaults/main/main.yml | 5 + .../targets/server_network/tasks/main.yml | 31 + .../targets/server_network/tasks/test.yml | 222 ++ .../integration/targets/server_type_info/aliases | 2 + .../server_type_info/defaults/main/common.yml | 12 + .../server_type_info/defaults/main/main.yml | 7 + .../targets/server_type_info/tasks/main.yml | 31 + .../targets/server_type_info/tasks/test.yml | 69 + .../targets/setup_hcloud_cli/tasks/main.yml | 16 + .../setup_selfsigned_certificate/tasks/main.yml | 58 +- .../targets/setup_ssh_keypair/tasks/main.yml | 19 + .../targets/setup_sshkey/tasks/main.yml | 55 - .../tests/integration/targets/ssh_key/aliases | 2 + .../targets/ssh_key/defaults/main/common.yml | 12 + .../targets/ssh_key/defaults/main/main.yml | 5 + .../integration/targets/ssh_key/meta/main.yml | 3 + .../integration/targets/ssh_key/tasks/cleanup.yml | 10 + .../integration/targets/ssh_key/tasks/main.yml | 31 + .../integration/targets/ssh_key/tasks/test.yml | 146 + .../tests/integration/targets/ssh_key_info/aliases | 2 + .../targets/ssh_key_info/defaults/main/common.yml | 12 + .../targets/ssh_key_info/defaults/main/main.yml | 4 + .../integration/targets/ssh_key_info/meta/main.yml | 3 + .../targets/ssh_key_info/tasks/cleanup.yml | 5 + .../targets/ssh_key_info/tasks/main.yml | 31 + .../targets/ssh_key_info/tasks/prepare.yml | 8 + .../targets/ssh_key_info/tasks/test.yml | 77 + .../tests/integration/targets/subnetwork/aliases | 2 + .../targets/subnetwork/defaults/main/common.yml | 12 + .../targets/subnetwork/defaults/main/main.yml | 23 + .../targets/subnetwork/tasks/cleanup.yml | 5 + .../integration/targets/subnetwork/tasks/main.yml | 31 + .../targets/subnetwork/tasks/prepare.yml | 11 + .../integration/targets/subnetwork/tasks/test.yml | 103 + .../tests/integration/targets/volume/aliases | 2 + .../targets/volume/defaults/main/common.yml | 12 + .../targets/volume/defaults/main/main.yml | 5 + .../integration/targets/volume/tasks/main.yml | 31 + .../integration/targets/volume/tasks/test.yml | 288 ++ .../tests/integration/targets/volume_info/aliases | 2 + .../targets/volume_info/defaults/main/common.yml | 12 + .../targets/volume_info/defaults/main/main.yml | 4 + .../targets/volume_info/tasks/cleanup.yml | 5 + .../integration/targets/volume_info/tasks/main.yml | 31 + .../targets/volume_info/tasks/prepare.yml | 9 + .../integration/targets/volume_info/tasks/test.yml | 81 + .../hetzner/hcloud/tests/requirements.yml | 8 +- .../hetzner/hcloud/tests/sanity/ignore-2.12.txt | 2 - .../hetzner/hcloud/tests/sanity/ignore-2.13.txt | 71 +- .../hetzner/hcloud/tests/sanity/ignore-2.14.txt | 70 +- .../hetzner/hcloud/tests/sanity/ignore-2.15.txt | 3 +- .../hetzner/hcloud/tests/sanity/ignore-2.16.txt | 1 + .../hcloud/tests/unit/module_utils/test_hcloud.py | 125 + .../hetzner/hcloud/tests/unit/requirements.txt | 2 + .../hetzner/hcloud/tests/utils/ci.sh | 141 + .../hetzner/hcloud/tests/utils/gitlab/gitlab.sh | 68 +- .../hetzner/hcloud/tests/utils/gitlab/sanity.sh | 34 +- .../hcloud/tests/utils/shippable/check_matrix.py | 120 - .../hetzner/hcloud/tests/utils/shippable/hcloud.sh | 34 - .../hetzner/hcloud/tests/utils/shippable/sanity.sh | 27 - .../hcloud/tests/utils/shippable/shippable.sh | 213 -- .../hetzner/hcloud/tests/utils/shippable/timing.py | 16 - .../hetzner/hcloud/tests/utils/shippable/timing.sh | 5 - 549 files changed, 31614 insertions(+), 17204 deletions(-) create mode 100644 ansible_collections/hetzner/hcloud/.ansible-lint create mode 100644 ansible_collections/hetzner/hcloud/.flake8 create mode 100644 ansible_collections/hetzner/hcloud/.github/release-please-config.json create mode 100644 ansible_collections/hetzner/hcloud/.github/release-please-manifest.json delete mode 100644 ansible_collections/hetzner/hcloud/.github/workflows/check-changelog-fragments.yml create mode 100644 ansible_collections/hetzner/hcloud/.github/workflows/lint.yml create mode 100644 ansible_collections/hetzner/hcloud/.github/workflows/release-please.yml create mode 100644 ansible_collections/hetzner/hcloud/.github/workflows/stale.yml create mode 100644 ansible_collections/hetzner/hcloud/.github/workflows/vendor.yml create mode 100644 ansible_collections/hetzner/hcloud/.pre-commit-config.yaml create mode 100644 ansible_collections/hetzner/hcloud/Makefile create mode 100644 ansible_collections/hetzner/hcloud/changelogs/dev-changelog.md create mode 100644 ansible_collections/hetzner/hcloud/docs/docsite/extra-docs.yml create mode 100644 ansible_collections/hetzner/hcloud/docs/docsite/links.yml create mode 100644 ansible_collections/hetzner/hcloud/docs/docsite/rst/guides.rst create mode 100644 ansible_collections/hetzner/hcloud/examples/inventory.hcloud.yml create mode 100644 ansible_collections/hetzner/hcloud/examples/server-with-firewall.yml create mode 100644 ansible_collections/hetzner/hcloud/examples/server-with-private-ip-only.yml create mode 100644 ansible_collections/hetzner/hcloud/examples/use-module-defaults-group.yml create mode 100644 ansible_collections/hetzner/hcloud/examples/use-refresh-inventory.yml create mode 100644 ansible_collections/hetzner/hcloud/plugins/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/_client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/_exceptions.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/_version.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/actions/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/actions/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/actions/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/certificates/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/certificates/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/certificates/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/core/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/core/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/core/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/datacenters/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/datacenters/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/datacenters/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/deprecation/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/deprecation/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/firewalls/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/firewalls/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/firewalls/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/floating_ips/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/floating_ips/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/floating_ips/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/hcloud.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/helpers/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/helpers/labels.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/images/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/images/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/images/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/isos/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/isos/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/isos/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/load_balancer_types/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/load_balancer_types/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/load_balancer_types/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/load_balancers/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/load_balancers/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/load_balancers/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/locations/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/locations/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/locations/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/metrics/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/metrics/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/networks/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/networks/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/networks/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/placement_groups/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/placement_groups/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/placement_groups/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/primary_ips/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/primary_ips/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/primary_ips/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/py.typed create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/server_types/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/server_types/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/server_types/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/servers/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/servers/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/servers/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/ssh_keys/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/ssh_keys/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/ssh_keys/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/volumes/__init__.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/volumes/client.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/volumes/domain.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/module_utils/version.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/certificate.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/certificate_info.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/datacenter_info.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/firewall.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/firewall_info.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/firewall_resource.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/floating_ip.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/floating_ip_info.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_certificate.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_certificate_info.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_datacenter_facts.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_datacenter_info.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_firewall.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_floating_ip.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_floating_ip_facts.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_floating_ip_info.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_image_facts.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_image_info.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_load_balancer.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_load_balancer_info.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_load_balancer_network.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_load_balancer_service.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_load_balancer_target.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_load_balancer_type_info.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_location_facts.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_location_info.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_network.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_network_info.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_placement_group.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_primary_ip.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_rdns.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_route.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server_facts.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server_info.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server_network.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server_type_facts.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server_type_info.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_ssh_key.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_ssh_key_facts.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_ssh_key_info.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_subnetwork.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_volume.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_volume_facts.py delete mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/hcloud_volume_info.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/image_info.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/iso_info.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/load_balancer.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/load_balancer_info.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/load_balancer_network.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/load_balancer_service.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/load_balancer_target.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/load_balancer_type_info.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/location_info.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/network.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/network_info.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/placement_group.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/primary_ip.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/primary_ip_info.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/rdns.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/route.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/server.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/server_info.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/server_network.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/server_type_info.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/ssh_key.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/ssh_key_info.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/subnetwork.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/volume.py create mode 100644 ansible_collections/hetzner/hcloud/plugins/modules/volume_info.py create mode 100644 ansible_collections/hetzner/hcloud/pyproject.toml create mode 100644 ansible_collections/hetzner/hcloud/renovate.json create mode 100644 ansible_collections/hetzner/hcloud/requirements.txt create mode 100755 ansible_collections/hetzner/hcloud/scripts/integration-test-files.sh create mode 100755 ansible_collections/hetzner/hcloud/scripts/vendor.py create mode 100644 ansible_collections/hetzner/hcloud/tests/config.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/constraints.txt create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/README.md create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/common/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/common/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/constraints.txt create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/certificate/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/certificate/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/certificate/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/certificate/meta/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/certificate/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/certificate/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/certificate/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/certificate_info/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/certificate_info/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/certificate_info/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/certificate_info/meta/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/certificate_info/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/certificate_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/certificate_info/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/certificate_info/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/datacenter_info/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/datacenter_info/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/datacenter_info/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/datacenter_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/datacenter_info/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall_info/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall_info/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall_info/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall_info/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall_info/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall_info/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall_resource/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall_resource/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall_resource/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall_resource/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall_resource/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall_resource/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/firewall_resource/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/floating_ip/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/floating_ip/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/floating_ip/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/floating_ip/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/floating_ip/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/floating_ip_info/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/floating_ip_info/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/floating_ip_info/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/floating_ip_info/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/floating_ip_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/floating_ip_info/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/floating_ip_info/tasks/test.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_certificate/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_certificate/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_certificate/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_certificate/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_certificate_info/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_certificate_info/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_certificate_info/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_certificate_info/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_datacenter_info/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_datacenter_info/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_datacenter_info/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_datacenter_info/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_firewall/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_firewall/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_firewall/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_firewall/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_floating_ip/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_floating_ip/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_floating_ip/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_floating_ip/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_floating_ip_info/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_floating_ip_info/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_floating_ip_info/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_floating_ip_info/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_image_info/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_image_info/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_image_info/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_image_info/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_info/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_info/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_info/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_info/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_network/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_network/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_network/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_network/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_service/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_service/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_service/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_service/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_target/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_target/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_target/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_target/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_type_info/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_type_info/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_type_info/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_load_balancer_type_info/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_location_info/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_location_info/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_location_info/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_location_info/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_network/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_network/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_network/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_network/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_network_info/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_network_info/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_network_info/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_network_info/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_placement_group/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_placement_group/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_placement_group/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_placement_group/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_primary_ip/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_primary_ip/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_primary_ip/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_primary_ip/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_rdns/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_rdns/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_rdns/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_rdns/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_route/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_route/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_route/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_route/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server/tasks/basic.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server/tasks/firewalls.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server/tasks/primary_ips.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server/tasks/private_network_only.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server/tasks/validation.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server_info/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server_info/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server_info/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server_info/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server_network/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server_network/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server_network/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server_network/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server_type_info/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server_type_info/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server_type_info/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_server_type_info/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_ssh_key/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_ssh_key/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_ssh_key/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_ssh_key/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_ssh_key_info/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_ssh_key_info/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_ssh_key_info/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_ssh_key_info/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_subnetwork/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_subnetwork/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_subnetwork/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_subnetwork/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_volume/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_volume/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_volume/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_volume/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_volume_info/aliases delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_volume_info/defaults/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_volume_info/meta/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/hcloud_volume_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/image_info/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/image_info/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/image_info/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/image_info/meta/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/image_info/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/image_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/image_info/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/image_info/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/iso_info/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/iso_info/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/iso_info/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/iso_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/iso_info/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_info/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_info/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_info/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_info/meta/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_info/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_info/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_info/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_network/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_network/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_network/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_network/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_network/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_service/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_service/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_service/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_service/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_service/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_target/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_target/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_target/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_target/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_target/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_type_info/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_type_info/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_type_info/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_type_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/load_balancer_type_info/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/location_info/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/location_info/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/location_info/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/location_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/location_info/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/network/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/network/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/network/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/network/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/network/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/network_info/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/network_info/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/network_info/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/network_info/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/network_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/network_info/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/network_info/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/placement_group/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/placement_group/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/placement_group/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/placement_group/meta/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/placement_group/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/placement_group/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/placement_group/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/placement_group/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/primary_ip/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/primary_ip/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/primary_ip/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/primary_ip/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/primary_ip/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/primary_ip_info/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/primary_ip_info/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/primary_ip_info/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/primary_ip_info/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/primary_ip_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/primary_ip_info/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/primary_ip_info/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/rdns/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/rdns/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/rdns/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/rdns/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/rdns/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/rdns/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/rdns/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/route/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/route/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/route/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/route/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/route/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server/meta/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server/tasks/test_basic.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server/tasks/test_firewalls.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server/tasks/test_primary_ips.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server/tasks/test_private_network_only.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server/tasks/test_validation.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_info/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_info/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_info/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_info/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_info/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_info/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_network/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_network/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_network/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_network/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_network/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_type_info/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_type_info/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_type_info/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_type_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/server_type_info/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/setup_hcloud_cli/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/setup_ssh_keypair/tasks/main.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/setup_sshkey/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/ssh_key/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/ssh_key/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/ssh_key/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/ssh_key/meta/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/ssh_key/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/ssh_key/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/ssh_key/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/ssh_key_info/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/ssh_key_info/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/ssh_key_info/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/ssh_key_info/meta/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/ssh_key_info/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/ssh_key_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/ssh_key_info/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/ssh_key_info/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/subnetwork/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/subnetwork/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/subnetwork/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/subnetwork/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/subnetwork/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/subnetwork/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/subnetwork/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/volume/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/volume/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/volume/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/volume/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/volume/tasks/test.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/volume_info/aliases create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/volume_info/defaults/main/common.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/volume_info/defaults/main/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/volume_info/tasks/cleanup.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/volume_info/tasks/main.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/volume_info/tasks/prepare.yml create mode 100644 ansible_collections/hetzner/hcloud/tests/integration/targets/volume_info/tasks/test.yml delete mode 100644 ansible_collections/hetzner/hcloud/tests/sanity/ignore-2.12.txt create mode 100644 ansible_collections/hetzner/hcloud/tests/sanity/ignore-2.16.txt create mode 100644 ansible_collections/hetzner/hcloud/tests/unit/module_utils/test_hcloud.py create mode 100644 ansible_collections/hetzner/hcloud/tests/unit/requirements.txt create mode 100755 ansible_collections/hetzner/hcloud/tests/utils/ci.sh delete mode 100755 ansible_collections/hetzner/hcloud/tests/utils/shippable/check_matrix.py delete mode 100755 ansible_collections/hetzner/hcloud/tests/utils/shippable/hcloud.sh delete mode 100755 ansible_collections/hetzner/hcloud/tests/utils/shippable/sanity.sh delete mode 100755 ansible_collections/hetzner/hcloud/tests/utils/shippable/shippable.sh delete mode 100755 ansible_collections/hetzner/hcloud/tests/utils/shippable/timing.py delete mode 100755 ansible_collections/hetzner/hcloud/tests/utils/shippable/timing.sh (limited to 'ansible_collections/hetzner') diff --git a/ansible_collections/hetzner/hcloud/.ansible-lint b/ansible_collections/hetzner/hcloud/.ansible-lint new file mode 100644 index 000000000..b8282450d --- /dev/null +++ b/ansible_collections/hetzner/hcloud/.ansible-lint @@ -0,0 +1,27 @@ +--- +exclude_paths: + - .azure-pipelines + - .cache/ + - .git/ + - .github/ + - changelogs/ + - examples/ + - tests/integration/targets/certificate + - tests/integration/targets/floating_ip + - tests/integration/targets/load_balancer_network + - tests/integration/targets/load_balancer_service + - tests/integration/targets/load_balancer_target + - tests/integration/targets/network + - tests/integration/targets/placement_group + - tests/integration/targets/primary_ip + - tests/integration/targets/route + - tests/integration/targets/server + - tests/integration/targets/server_network + - tests/integration/targets/ssh_key + - tests/integration/targets/volume + +warn_list: + - internal-error + - sanity[cannot-ignore] + # TODO: remove once unsupported ansible-core version are dropped + - meta-runtime[unsupported-version] diff --git a/ansible_collections/hetzner/hcloud/.azure-pipelines/azure-pipelines.yml b/ansible_collections/hetzner/hcloud/.azure-pipelines/azure-pipelines.yml index d55524f27..8300381b4 100644 --- a/ansible_collections/hetzner/hcloud/.azure-pipelines/azure-pipelines.yml +++ b/ansible_collections/hetzner/hcloud/.azure-pipelines/azure-pipelines.yml @@ -1,22 +1,20 @@ trigger: batch: true branches: - include: - - main + include: [main, stable-1] pr: autoCancel: true + drafts: false branches: - include: - - main + include: [main, stable-1] schedules: - cron: 0 9 * * * displayName: Nightly always: true branches: - include: - - main + include: [main, stable-1] variables: - name: checkoutPath @@ -26,20 +24,20 @@ variables: - name: pipelinesCoverage value: coverage - name: entryPoint - value: tests/utils/shippable/shippable.sh + value: tests/utils/ci.sh - name: fetchDepth value: 0 resources: containers: - container: default - image: quay.io/ansible/azure-pipelines-test-container:3.0.0 + image: quay.io/ansible/azure-pipelines-test-container:4.0.1 pool: Standard stages: -### Sanity - - stage: Ansible_devel + ### Sanity + - stage: Sanity_devel displayName: Sanity devel dependsOn: [] jobs: @@ -47,9 +45,29 @@ stages: parameters: targets: - name: Sanity - test: 'devel/sanity/1' + test: devel/sanity - - stage: Ansible_2_14 + - stage: Sanity_2_16 + displayName: Sanity 2.16 + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + targets: + - name: Sanity + test: 2.16/sanity + + - stage: Sanity_2_15 + displayName: Sanity 2.15 + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + targets: + - name: Sanity + test: 2.15/sanity + + - stage: Sanity_2_14 displayName: Sanity 2.14 dependsOn: [] jobs: @@ -57,8 +75,9 @@ stages: parameters: targets: - name: Sanity - test: '2.14/sanity/1' - - stage: Ansible_2_13 + test: 2.14/sanity + + - stage: Sanity_2_13 displayName: Sanity 2.13 dependsOn: [] jobs: @@ -66,82 +85,133 @@ stages: parameters: targets: - name: Sanity - test: '2.13/sanity/1' - - stage: Ansible_2_12 - displayName: Sanity 2.12 + test: 2.13/sanity + + ### Units + - stage: Units_devel + displayName: Units devel dependsOn: [] jobs: - template: templates/matrix.yml parameters: targets: - - name: Sanity - test: '2.12/sanity/1' + - name: (py3.12) + test: devel/units/3.12 + + - stage: Units_2_16 + displayName: Units 2.16 + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + targets: + - name: (py3.10) + test: 2.16/units/3.10 + - stage: Units_2_15 + displayName: Units 2.15 + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + targets: + - name: (py3.9) + test: 2.15/units/3.9 + + - stage: Units_2_14 + displayName: Units 2.14 + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + targets: + - name: (py3.9) + test: 2.14/units/3.9 + + - stage: Units_2_13 + displayName: Units 2.13 + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + targets: + - name: (py3.8) + test: 2.13/units/3.8 + + ## Integration + - stage: Integration_devel + displayName: Integration devel + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + groups: [1, 2, 3] + targets: + - name: (py3.12) + test: devel/integration/3.12 -## Integration tests (remote) - - stage: Hetzner_devel - displayName: Hetzner devel + - stage: Integration_2_16 + displayName: Integration 2.16 dependsOn: [] jobs: - template: templates/matrix.yml parameters: - groups: - - 1 - - 2 + groups: [1, 2, 3] targets: - - name: hcloud - test: 'devel/hcloud/3.9' + - name: (py3.10) + test: 2.16/integration/3.10 - - stage: Hetzner_2_14 - displayName: Hetzner 2.14 + - stage: Integration_2_15 + displayName: Integration 2.15 dependsOn: [] jobs: - template: templates/matrix.yml parameters: - groups: - - 1 - - 2 + groups: [1, 2, 3] targets: - - name: hcloud - test: '2.14/hcloud/3.9' + - name: (py3.9) + test: 2.15/integration/3.9 - - stage: Hetzner_2_13 - displayName: Hetzner 2.13 + - stage: Integration_2_14 + displayName: Integration 2.14 dependsOn: [] jobs: - template: templates/matrix.yml parameters: - groups: - - 1 - - 2 + groups: [1, 2, 3] targets: - - name: hcloud - test: '2.13/hcloud/3.9' + - name: (py3.9) + test: 2.14/integration/3.9 - - stage: Hetzner_2_12 - displayName: Hetzner 2.12 + - stage: Integration_2_13 + displayName: Integration 2.13 dependsOn: [] jobs: - template: templates/matrix.yml parameters: - groups: - - 1 - - 2 + groups: [1, 2, 3] targets: - - name: hcloud - test: '2.12/hcloud/3.9' + - name: (py3.8) + test: 2.13/integration/3.8 -### Finally + ### Finally - stage: Summary condition: succeededOrFailed() dependsOn: - - Ansible_devel - - Ansible_2_14 - - Ansible_2_13 - - Ansible_2_12 - - Hetzner_devel - - Hetzner_2_14 - - Hetzner_2_13 - - Hetzner_2_12 + - Sanity_devel + - Sanity_2_16 + - Sanity_2_15 + - Sanity_2_14 + - Sanity_2_13 + - Units_devel + - Units_2_16 + - Units_2_15 + - Units_2_14 + - Units_2_13 + - Integration_devel + - Integration_2_16 + - Integration_2_15 + - Integration_2_14 + - Integration_2_13 jobs: - template: templates/coverage.yml diff --git a/ansible_collections/hetzner/hcloud/.azure-pipelines/scripts/aggregate-coverage.sh b/ansible_collections/hetzner/hcloud/.azure-pipelines/scripts/aggregate-coverage.sh index f3113dd0a..c196ab014 100755 --- a/ansible_collections/hetzner/hcloud/.azure-pipelines/scripts/aggregate-coverage.sh +++ b/ansible_collections/hetzner/hcloud/.azure-pipelines/scripts/aggregate-coverage.sh @@ -13,8 +13,8 @@ options=(--venv --venv-system-site-packages --color -v) ansible-test coverage combine --export "${agent_temp_directory}/coverage/" "${options[@]}" -if ansible-test coverage analyze targets generate --help >/dev/null 2>&1; then - # Only analyze coverage if the installed version of ansible-test supports it. - # Doing so allows this script to work unmodified for multiple Ansible versions. - ansible-test coverage analyze targets generate "${agent_temp_directory}/coverage/coverage-analyze-targets.json" "${options[@]}" +if ansible-test coverage analyze targets generate --help > /dev/null 2>&1; then + # Only analyze coverage if the installed version of ansible-test supports it. + # Doing so allows this script to work unmodified for multiple Ansible versions. + ansible-test coverage analyze targets generate "${agent_temp_directory}/coverage/coverage-analyze-targets.json" "${options[@]}" fi diff --git a/ansible_collections/hetzner/hcloud/.azure-pipelines/scripts/combine-coverage.py b/ansible_collections/hetzner/hcloud/.azure-pipelines/scripts/combine-coverage.py index 506ade646..bab3c4226 100755 --- a/ansible_collections/hetzner/hcloud/.azure-pipelines/scripts/combine-coverage.py +++ b/ansible_collections/hetzner/hcloud/.azure-pipelines/scripts/combine-coverage.py @@ -7,8 +7,7 @@ Keep in mind that Azure Pipelines does not enforce unique job display names (onl It is up to pipeline authors to avoid name collisions when deviating from the recommended format. """ -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type +from __future__ import annotations import os import re @@ -20,12 +19,12 @@ def main(): """Main program entry point.""" source_directory = sys.argv[1] - if '/ansible_collections/' in os.getcwd(): + if "/ansible_collections/" in os.getcwd(): output_path = "tests/output" else: output_path = "test/results" - destination_directory = os.path.join(output_path, 'coverage') + destination_directory = os.path.join(output_path, "coverage") if not os.path.exists(destination_directory): os.makedirs(destination_directory) @@ -34,27 +33,27 @@ def main(): count = 0 for name in os.listdir(source_directory): - match = re.search('^Coverage (?P[0-9]+) (?P