Well decided to go with Hashicorp's terraform tool for the IP address ,instance creation and attachment and will be trying to use its local_exec feature to call my playbooks.
On Thursday, December 25, 2014 9:50:32 PM UTC+2, [email protected] wrote: > > 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/1576dc65-c107-4bb4-a91f-5e4cbbf67709%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
