Skip to content

provisioning_cloud_provider_gcloud

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

Information

Key Value
Playbook path plays/provisioning/cloud-provider/gcloud/main.yml
Role None
Tags None
Defaults None
Config files Description
/etc/cloud/cloud.cfg.d/01_debian_cloud.cfg
/etc/ssh/sshd_config

Example

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

[gcloud:children]
util
cus_tool_prod
[...]

Run with cake:

cake -f provisioning_cloud_provider_gcloud -i pub