diff --git a/tests/cloud_playbooks/roles/packet-ci/tasks/create-vms.yml b/tests/cloud_playbooks/roles/packet-ci/tasks/create-vms.yml index 4070b2402..39b3d5c78 100644 --- a/tests/cloud_playbooks/roles/packet-ci/tasks/create-vms.yml +++ b/tests/cloud_playbooks/roles/packet-ci/tasks/create-vms.yml @@ -39,7 +39,7 @@ retries: 20 delay: 15 until: - - vm_ips.stdout | ipaddr + - vm_ips.stdout | ansible.utils.ipaddr - name: "Create inventory for CI test in file /tmp/{{ test_name }}/inventory" template: diff --git a/tests/testcases/030_check-network.yml b/tests/testcases/030_check-network.yml index ff63b5e9d..9b7eacfc1 100644 --- a/tests/testcases/030_check-network.yml +++ b/tests/testcases/030_check-network.yml @@ -180,7 +180,7 @@ - name: Check pods IP are in correct network assert: - that: item | ipaddr(kube_pods_subnet) + that: item | ansible.utils.ipaddr(kube_pods_subnet) when: - not item in pods_hostnet - item in pods_running