In this recipe, we will outline how to create the required credentials to programmatically authenticate to our GCP account from Ansible. This is a mandatory step that you need to take in order to be able to run any Ansible module in the following recipes.
Authenticating to your GCP account
Getting ready
The Ansible controller must have internet access. In addition, the user performing these steps must have administrative access to the GCP console in order to create the required resources to enable programmatic interaction with the GCP APIs.
How to do it...
- Log in to GCP...