Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally get service account file path from env var #54407

Merged
merged 1 commit into from
Apr 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/ansible/plugins/inventory/gcp_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
- The path of a Service Account JSON file if serviceaccount is selected as type.
required: True
type: path
env:
- name: GCE_CREDENTIALS_FILE_PATH
version_added: "2.8"
service_account_email:
description:
- An optional service account email address if machineaccount is selected
Expand Down