From a7b843ca80a6d83fc43ba64b6aa6b96b628f83f8 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 14 Apr 2016 23:37:01 +0200 Subject: [PATCH] Use type=path for pem_file, since that's a file (#1934) --- lib/ansible/modules/extras/cloud/google/gce_img.py | 2 +- lib/ansible/modules/extras/cloud/google/gce_tag.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/google/gce_img.py b/lib/ansible/modules/extras/cloud/google/gce_img.py index b64f12febd..bf3d9da535 100644 --- a/lib/ansible/modules/extras/cloud/google/gce_img.py +++ b/lib/ansible/modules/extras/cloud/google/gce_img.py @@ -180,7 +180,7 @@ def main(): state=dict(default='present', choices=['present', 'absent']), zone=dict(default='us-central1-a'), service_account_email=dict(), - pem_file=dict(), + pem_file=dict(type='path'), project_id=dict(), timeout=dict(type='int', default=180) ) diff --git a/lib/ansible/modules/extras/cloud/google/gce_tag.py b/lib/ansible/modules/extras/cloud/google/gce_tag.py index 4f60f58f76..cb1f2a2c3e 100644 --- a/lib/ansible/modules/extras/cloud/google/gce_tag.py +++ b/lib/ansible/modules/extras/cloud/google/gce_tag.py @@ -188,7 +188,7 @@ def main(): state=dict(default='present', choices=['present', 'absent']), zone=dict(default='us-central1-a'), service_account_email=dict(), - pem_file=dict(), + pem_file=dict(type='path'), project_id=dict(), ) )