def get_input_data(input_section):
    """
    Gets playbook single input item - support simple and complex input.
    :param input_section: playbook input item.
    :return: The input default value(accessor) and the input source(root).
    """
    default_value = input_section.get('value')
    if isinstance(default_value, str):
        return default_value, ''

    if default_value:
        complex = default_value.get('complex')
        if complex:
            return complex.get('accessor'), complex.get('root')
        return default_value.get('simple'), ''

    return '', ''