I'm using the googlecompute builder with an ansible-local provisioner, which I've passed a galaxy_file. In that galaxy file I've listed some roles that are in private repositories. They're src is specified as the git ssh "g...@github.com:..." address for each repository.
The way I understand it, the default communicator should be ssh, and if I have an ssh-agent running, my ssh credentials should be passed on to the gce instance that is running the build. How come git clone of those private repos fails? The error message is not useful.
googlecompute: [WARNING]: - some_private_repo was NOT installed successfully: - command git
googlecompute: clone g...@github.com:org/some_private_repo.git some_private_repo failed