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.