def list_actions(name, location='\\'):
    r'''
    List all actions that pertain to a task in the specified location.

    Args: