1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add the proper type for the various path argument

This commit is contained in:
Michael Scherer 2016-03-22 12:08:50 +01:00 committed by Matt Clay
parent 4cd9933388
commit 9f90c2355f

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