Hi , Im trying to come up with a play that will attach a previously 
reserved static ip address to a instance on creation by 
ansible.from 
https://cloud.google.com/compute/docs/instances-and-network#staticnetworkaddress
 
 recommended course seem to use  $ gcloud compute instances create 
example-instance 
--address example-address-2     to achieve this.Is there an equivalent 
within the ansible gce module.Would like to use it to setup a nginx server 
so that the IP persists even if the instance needs to be replaced for 
whatever reason.
Attaching at creation seems to be the better option as attaching it later 
increases the complexity of the task. 

-- 
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/70069fb5-3a88-41ff-9937-448bdef30321%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to