Fix syntax;Add prefixlength
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
db77f08a20
commit
07b7636d0f
@ -27,8 +27,8 @@
|
|||||||
guestinfo.rootpw: "{{ root_password }}"
|
guestinfo.rootpw: "{{ root_password }}"
|
||||||
guestinfo.rootsshkey: "foo"
|
guestinfo.rootsshkey: "foo"
|
||||||
guestinfo.ntpserver: 127.0.0.1
|
guestinfo.ntpserver: 127.0.0.1
|
||||||
guestinfo.ipaddress: "{{ item.ip | ansible.utils.ipaddr('address')
|
guestinfo.ipaddress: "{{ item.ip | ansible.utils.ipaddr('address') }}"
|
||||||
guestinfo.prefixlength: ""
|
guestinfo.prefixlength: "{{ (item.ip | split('/'))[-1] }}"
|
||||||
guestinfo.dnsserver: 127.0.0.1
|
guestinfo.dnsserver: 127.0.0.1
|
||||||
guestinfo.gateway: 127.0.0.1
|
guestinfo.gateway: 127.0.0.1
|
||||||
# customization_spec: "{{ customization_spec }}"
|
# customization_spec: "{{ customization_spec }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user