Following resolved the issue for me,
 network_interfaces:
        - subnetwork:
            selfLink: "{{ subnet.resources[0].selfLink }}"
Note: i have created register:subnet to gcp_compute_subnetwork_info.

On Thursday, March 26, 2020 at 9:44:57 AM UTC-4 [email protected] 
wrote:

> Sorry, found it:
>
> network_interfaces:
>        - network_ip: "{{ ipaddress.address }}" 
>        - subnetwork: "{{ selfLink }}" 
>
> is wrong
>
>
> network_interfaces:
>        - subnetwork: "{{ selfLink }}" 
>          network_ip: "{{ ipaddress.address }}" 
>
> is right. My fault.
>
> Thomas
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/300ebb84-cb4e-4def-be9b-69d6df38a3b2n%40googlegroups.com.

Reply via email to