Hi Guys!!

Can u help me?

I used a subnet that was being created in a region, but when I run the 
playbook it shows conflict errors. :( 

it is possible to use an existing subnet?


Here go my playbook example:

- name: Configure subnetwork
 gcp_compute_subnetwork:
     name: subnetwork_my_project
     region: us-central1
     network: "{{ network }}"
     ip_cidr_range: '{{ item.instance_subnetwork }}'
     project: "{{ item.project_id }}"
     auth_kind: serviceaccount
     service_account_file: "{{ item.credentials_file }}"
     state: present
 register: subnetwork


-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/78916289-eafc-49b8-8960-6048118155c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to