From b31afe235f40a20b11206e57d57b1130ca7273d0 Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Wed, 6 Dec 2023 03:49:25 +0100 Subject: [PATCH] Final ipaddr deprecation cleanup (#10675) Followup of #10518 --- tests/cloud_playbooks/roles/packet-ci/tasks/create-vms.yml | 2 +- tests/testcases/030_check-network.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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