def luksdump(module):
    """Returns luksdump output"""
    path = module.params["path"]
    _rc, stdout, _stderr = module.run_command(
        ["cryptsetup", "luksDump", path], check_rc=True)
    # NOTE(wszumski): _rc will always be equal to zero here due to check_rc above.
    return stdout.splitlines()