This commit is contained in:
parent
3d4a0f1538
commit
0dae6c5662
@ -31,9 +31,12 @@
|
|||||||
guestinfo.rootsshkey: "foo"
|
guestinfo.rootsshkey: "foo"
|
||||||
guestinfo.ntpserver: "{{ network.ntpserver }}"
|
guestinfo.ntpserver: "{{ network.ntpserver }}"
|
||||||
guestinfo.ipaddress: "{{ item.ip | ansible.utils.ipaddr('address') }}"
|
guestinfo.ipaddress: "{{ item.ip | ansible.utils.ipaddr('address') }}"
|
||||||
guestinfo.prefixlength: "{{ (item.ip | ansible.utils.ipaddr('prefix') }}"
|
guestinfo.prefixlength: "{{ item.ip | ansible.utils.ipaddr('prefix') }}"
|
||||||
guestinfo.dnsserver: "{{ network.dnsserver }}"
|
guestinfo.dnsserver: "{{ network.dnsserver }}"
|
||||||
guestinfo.gateway: "{{ network.gateway }}"
|
guestinfo.gateway: "{{ network.gateway }}"
|
||||||
# customization_spec: "{{ customization_spec }}"
|
# customization_spec: "{{ customization_spec }}"
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
with_items: "{{ servers }}"
|
with_items: "{{ servers }}"
|
||||||
|
register: result
|
||||||
|
- ansible.builtin.debug:
|
||||||
|
msg: result
|
||||||
|
Loading…
Reference in New Issue
Block a user