Add the proper type for the various path argument

This commit is contained in:
Michael Scherer 2016-03-22 12:08:50 +01:00
parent 10e70b5f48
commit 09da03ca0c

View file

@ -140,15 +140,15 @@ def main():
argument_spec=dict( argument_spec=dict(
executable=dict(default=None, required=False), executable=dict(default=None, required=False),
state=dict(default='present', required=False, choices=['present', 'latest']), state=dict(default='present', required=False, choices=['present', 'latest']),
chdir=dict(default=None, required=False), chdir=dict(default=None, required=False, type='path'),
exclude_groups=dict(default=None, required=False, type='list'), exclude_groups=dict(default=None, required=False, type='list'),
clean=dict(default=False, required=False, type='bool'), clean=dict(default=False, required=False, type='bool'),
gemfile=dict(default=None, required=False), gemfile=dict(default=None, required=False, type='path'),
local=dict(default=False, required=False, type='bool'), local=dict(default=False, required=False, type='bool'),
deployment_mode=dict(default=False, required=False, type='bool'), deployment_mode=dict(default=False, required=False, type='bool'),
user_install=dict(default=True, required=False, type='bool'), user_install=dict(default=True, required=False, type='bool'),
gem_path=dict(default=None, required=False), gem_path=dict(default=None, required=False, type='path'),
binstub_directory=dict(default=None, required=False), binstub_directory=dict(default=None, required=False, type='path'),
extra_args=dict(default=None, required=False), extra_args=dict(default=None, required=False),
), ),
supports_check_mode=True supports_check_mode=True