From ce0be575e238d4fa7abab41ef83446b4a180c331 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 26 Apr 2016 22:20:03 +0200 Subject: [PATCH] Change gem_source and executable to 'path' Both of them are file location, so they should be marked as 'path'. --- lib/ansible/modules/packaging/language/gem.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/packaging/language/gem.py b/lib/ansible/modules/packaging/language/gem.py index 002ee8c8c0..be89dbd83a 100644 --- a/lib/ansible/modules/packaging/language/gem.py +++ b/lib/ansible/modules/packaging/language/gem.py @@ -210,8 +210,8 @@ def main(): module = AnsibleModule( argument_spec = dict( - executable = dict(required=False, type='str'), - gem_source = dict(required=False, type='str'), + executable = dict(required=False, type='path'), + gem_source = dict(required=False, type='path'), include_dependencies = dict(required=False, default=True, type='bool'), name = dict(required=True, type='str'), repository = dict(required=False, aliases=['source'], type='str'),