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

Use proper type for riak config_dir argument

This commit is contained in:
Michael Scherer 2016-03-20 00:49:56 +01:00 committed by Matt Clay
parent 49aa069c94
commit 1a05e0f1c8

View file

@ -125,7 +125,7 @@ def main():
argument_spec=dict( argument_spec=dict(
command=dict(required=False, default=None, choices=[ command=dict(required=False, default=None, choices=[
'ping', 'kv_test', 'join', 'plan', 'commit']), 'ping', 'kv_test', 'join', 'plan', 'commit']),
config_dir=dict(default='/etc/riak'), config_dir=dict(default='/etc/riak', type='path'),
http_conn=dict(required=False, default='127.0.0.1:8098'), http_conn=dict(required=False, default='127.0.0.1:8098'),
target_node=dict(default='riak@127.0.0.1', required=False), target_node=dict(default='riak@127.0.0.1', required=False),
wait_for_handoffs=dict(default=False, type='int'), wait_for_handoffs=dict(default=False, type='int'),