CI: Fix ipaddr invocation in network bootstrap

The ipaddr filter has been removed from ansible.netcommon from version 8
onwards. Functionality has been moved to ansible.utils. The full name
"ansible.utils.ipaddr" must be used for compatibility.

Related-Bug: #2107335
Change-Id: Iac4c9f98b12dccd50fd42a7d33575aadfb1f1114
This commit is contained in:
Alex-Welsh 2025-04-23 10:28:09 +01:00
parent d348324cde
commit c508b19909
No known key found for this signature in database
GPG Key ID: CEBAB44C6CEDFE86

View File

@ -9,7 +9,7 @@
- name: Ensure all-in-one network bridge interface exists
vars:
bridge_cidr: "{{ bridge_ip }}/{{ bridge_prefix }}"
bridge_broadcast: "{{ bridge_cidr | ipaddr('broadcast') }}"
bridge_broadcast: "{{ bridge_cidr | ansible.utils.ipaddr('broadcast') }}"
command: "{{ item }}"
become: true
with_items: