From f00beccda25cc3046be4b5412a20884a60319a43 Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Wed, 29 Nov 2023 19:54:45 +0100 Subject: [PATCH] Final ipaddr deprecation cleanup 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 4070b240266..39b3d5c78c7 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 ff63b5e9dcc..9b7eacfc1e9 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