Ansible on Google Cloud Shell

The Google Cloud Shell is fantastic power tool. Unfortunately for me it comes without Ansible preinstalled. Google Cloud Shell is basically Debian, so Ansible can be easily added using apt-get command. However it has drawback of any changes to underlying VM being wiped-up frequently as underlying machine is ephemeral one. Installation There is a better way, though. Use pip. python3 -m pip install --user ansible Collecting ansible Downloading ansible-6.6.0-py3-none-any.whl (42.3 MB) |████████████████████████████████| 42....

November 13, 2022 · 2 min · Bart Prokop