diff --git a/test/integration/targets/hcloud_network_info/tasks/main.yml b/test/integration/targets/hcloud_network_info/tasks/main.yml index 46bc57c4c88..80d3ee8f906 100644 --- a/test/integration/targets/hcloud_network_info/tasks/main.yml +++ b/test/integration/targets/hcloud_network_info/tasks/main.yml @@ -52,9 +52,9 @@ - name: verify test gather hcloud network info in check mode assert: that: - - hcloud_network.hcloud_network_info | selectattr('name','equalto','{{ hcloud_network_name }}') | list | count == 1 - - hcloud_network.hcloud_network_info[0].subnetworks | list | count == 1 - - hcloud_network.hcloud_network_info[0].routes | list | count == 1 + - hcloud_network.hcloud_network_info | selectattr('name','equalto','{{ hcloud_network_name }}') | list | count >= 1 + - hcloud_network.hcloud_network_info[0].subnetworks | list | count >= 1 + - hcloud_network.hcloud_network_info[0].routes | list | count >= 1 - name: test gather hcloud network info with correct label selector hcloud_network_info: