from ansible.module_utils.basic import *

DOCUMENTATION = '''
---
module: rally
short_description: Executes rally commands

'''
def main():
    module_args = dict(
        name=dict(type='str', required=True),
        command=dict(type='str', required=True)
    )

    commands = {'create_db', 'create_deployment', 'check_deployment', 'start_task' , 'task_report' }
    module = AnsibleModule(argument_spec=module_args)

    response = {"hello": "world"}
    module.exit_json(changed=False, meta=response)
def create_db:
	pass

def create_deployment:
	pass

def check_deployment:
	pass

def start_task:
	pass

def task_report:
	pass

	
if __name__ == '__main__':
    # CALL Rally loader
    # TODO
    main()


@@ -165,20 +165,23 @@
         
-name
+command
 =dict(ty
@@ -213,32 +213,37 @@
 %0A        command
+_args
 =dict(type='str'

Update test.py