From fb110413cb6496cb37a54f2db8ef619ca51de3fc Mon Sep 17 00:00:00 2001 From: jo Date: Mon, 28 Apr 2025 20:14:34 +0200 Subject: [PATCH] test: backward compatible implementation --- tests/integration/targets/subnetwork/tasks/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/targets/subnetwork/tasks/test.yml b/tests/integration/targets/subnetwork/tasks/test.yml index ebc9423..b2da4fd 100644 --- a/tests/integration/targets/subnetwork/tasks/test.yml +++ b/tests/integration/targets/subnetwork/tasks/test.yml @@ -87,7 +87,8 @@ - result.hcloud_subnetwork.network_zone == hcloud_network_zone_name - result.hcloud_subnetwork.type == "vswitch" - result.hcloud_subnetwork.ip_range == "10.0.1.0/24" - - result.hcloud_subnetwork.vswitch_id == test_vswitch_id + # Type casting can be removed once ansible-core < 2.19 is dropped + - result.hcloud_subnetwork.vswitch_id == test_vswitch_id | int - name: Test delete with vswitch hetzner.hcloud.subnetwork: