diff --git a/tests/integration/targets/instance_inventory/playbooks/test_inventory_filter.yml b/tests/integration/targets/instance_inventory/playbooks/test_inventory_filter.yml index e359b26b..67b08fcd 100644 --- a/tests/integration/targets/instance_inventory/playbooks/test_inventory_filter.yml +++ b/tests/integration/targets/instance_inventory/playbooks/test_inventory_filter.yml @@ -9,7 +9,7 @@ assert: that: - '"ansible-test-inventory" in hostvars' - - hostvars | length == 1 + - hostvars | length > 0 - '"networking_info" in hostvars["ansible-test-inventory"]' - '"ipv4" in hostvars["ansible-test-inventory"]["networking_info"]' - '"ipv6" in hostvars["ansible-test-inventory"]["networking_info"]' \ No newline at end of file diff --git a/tests/integration/targets/instance_inventory/playbooks/test_inventory_templatetoken.yml b/tests/integration/targets/instance_inventory/playbooks/test_inventory_templatetoken.yml index 9e9924d1..45aac365 100644 --- a/tests/integration/targets/instance_inventory/playbooks/test_inventory_templatetoken.yml +++ b/tests/integration/targets/instance_inventory/playbooks/test_inventory_templatetoken.yml @@ -9,4 +9,4 @@ assert: that: - '"ansible-test-inventory" in hostvars' - - hostvars | length == 1 \ No newline at end of file + - hostvars | length > 0 \ No newline at end of file