Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #83 from modular-magician/codegen-pr-425
Browse files Browse the repository at this point in the history
changes on gcp_utils.py upstream
  • Loading branch information
nat-henderson authored Sep 6, 2018
2 parents 66b21d9 + ad92d87 commit e8159c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/module_utils/gcp_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def _credentials(self):
credentials, project_id = google.auth.default()
return credentials
elif cred_type == 'serviceaccount':
path = os.path.expanduser(self.module.params['service_account_file'])
path = os.path.realpath(os.path.expanduser(self.module.params['service_account_file']))
return service_account.Credentials.from_service_account_file(path)
elif cred_type == 'machineaccount':
return google.auth.compute_engine.Credentials(
Expand Down

0 comments on commit e8159c0

Please sign in to comment.