Relative Content

Tag Archive for google-cloud-platformansibleansible-inventorygcp-compute-instance

How do I use ansible to connect to gcp compute instances without manual ssh keys?

I am trying to set up ansible for my gcp compute instances.
I want to know if there is some way to use gcp credentials for logging into compute instances.
I am aware of the ansible gcp_compute module but it only allows you to get your inventory list.
I don’t want to have to manually set up ssh keys and rotate them periodically for all instances.