Skip to content


This cake function executes the initial configuration on Google Cloud instances. It has to be run directly after initial createn of a new instance.

The cake function provisioning_cloud_provider_gcloud:

  • uninstalls an obscene amount of "cloud provider spy packages" which export information of the VM to the hypervisor
  • removes the default Linux user created during creation of the instance by google cloud


Key Value
Playbook path plays/provisioning/cloud-provider/gcloud/main.yml
Role None
Tags None
Defaults None
Config files Description


The play targets the gcloud group, which has to be created in inventory/hosts to then include other groups or hosts:


Run with cake:

cake -f provisioning_cloud_provider_gcloud -i pub