diff --git a/playbook.yml b/playbook.yml index 47904d6..3e552e4 100644 --- a/playbook.yml +++ b/playbook.yml @@ -31,9 +31,12 @@ guestinfo.rootsshkey: "foo" guestinfo.ntpserver: "{{ network.ntpserver }}" 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.gateway: "{{ network.gateway }}" # customization_spec: "{{ customization_spec }}" delegate_to: localhost with_items: "{{ servers }}" + register: result + - ansible.builtin.debug: + msg: result