def METHOD_NAME():
    module = AnsibleModule(
        argument_spec=dict(
            login_host=dict(type='str', default='localhost'),
            login_port=dict(type='int', default=6379),
            login_password=dict(type='str', no_log=True),
        ),
        supports_check_mode=True,
    )
    if not HAS_REDIS_PACKAGE:
        module.fail_json(msg=missing_required_lib('redis'), exception=REDIS_IMP_ERR)
    login_host = module.params['login_host']
    login_port = module.params['login_port']
    login_password = module.params['login_password']
    # Connect and check
    client = redis_client(host=login_host, port=login_port, password=login_password)
    try:
        client.ping()
    except Exception as e:
        module.fail_json(msg="unable to connect to database: %s" % to_native(e), exception=traceback.format_exc())
    info = client.info()
    module.exit_json(changed=False, info=info)