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:
parent
d348324cde
commit
c508b19909
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user