Fix syntax;Add prefixlength
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Danny Bessems 2022-04-18 23:12:30 +02:00
parent db77f08a20
commit 07b7636d0f

View File

@ -27,8 +27,8 @@
guestinfo.rootpw: "{{ root_password }}"
guestinfo.rootsshkey: "foo"
guestinfo.ntpserver: 127.0.0.1
guestinfo.ipaddress: "{{ item.ip | ansible.utils.ipaddr('address')
guestinfo.prefixlength: ""
guestinfo.ipaddress: "{{ item.ip | ansible.utils.ipaddr('address') }}"
guestinfo.prefixlength: "{{ (item.ip | split('/'))[-1] }}"
guestinfo.dnsserver: 127.0.0.1
guestinfo.gateway: 127.0.0.1
# customization_spec: "{{ customization_spec }}"