Skip to content

Commit

Permalink
optionally get service account file path from env var (#54407)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding authored and bcoca committed Apr 4, 2019
1 parent a4d0bc2 commit aa3f010
Showing 1 changed file with 3 additions and 0 deletions.
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 @@ -57,6 +57,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

0 comments on commit aa3f010

Please sign in to comment.