Ansible and Service account on GCP | C2C Community
Question

Ansible and Service account on GCP

  • 15 March 2022
  • 2 replies
  • 130 views

Hello Everyone,

 

I want to manage GCP VM instances  configuration with Ansible but with Metadata ssh keys . I checked some articles which are   using OS Login but that disables Metadata managing keys automatically 

 

Is that posible?


2 replies

Userlevel 7
Badge +58

Hi @alexsec,

I haven’t used it but have you add the keys to your CE Metadata? You can go to CE - Metadata - SSH Keys. I think it will work.

Have you read these 2 articles?

Ansible: Automate Apps and IT Infrastructure with GCP and AWS

Cloud Platform Guide - Ansible Documentation

I have read Cloud Platform Guide - Ansible Documentation. I dont know if this is going to interrupt other users

Reply