1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

B #5876: Use ansible.utils.ipaddr instead ipaddr (#2157)

(cherry picked from commit 5ff7b9a7fc)
This commit is contained in:
Jan Orel 2022-06-20 20:07:59 +02:00 committed by Ruben S. Montero
parent b02e28fb51
commit 23e606995c
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87
2 changed files with 6 additions and 3 deletions

View File

@ -17,7 +17,7 @@
- Name: "{{ monitor_interface }}"
- Network:
- DHCP: "no"
- Address: "{{ (eth1_ip + '/' + ansible_default_ipv4.netmask) | ipaddr('host/prefix') }}"
- Address: "{{ (eth1_ip + '/' + ansible_default_ipv4.netmask) | ansible.utils.ipaddr('host/prefix') }}"
when: setup_eth1 | default('false') | bool
- hosts:

View File

@ -1,2 +1,5 @@
# enables and configure systemd-networkd
- src: stackhpc.systemd_networkd
roles:
- stackhpc.systemd_networkd
collections:
- ansible.utils