def gen_simple_deployment_strategy(name=None, nodes=None):
    """Generates a single group deployment strategy

    :param name: the name of the single group. Defaults to 'default'
    :param nodes: the list of node_names to be used. Defaults to []
    """
    target_name = name or 'default'
    target_nodes = list(nodes) if nodes else []

    return {
        'groups': [
            {
                'name': target_name,
                'critical': True,
                'depends_on': [],
                'selectors': [
                    {
                        'node_names': target_nodes,
                        'node_labels': [],
                        'node_tags': [],
                        'rack_names': [],
                    },
                ],
                'success_criteria': {
                    'percent_successful_nodes': 100
                },
            }
        ]
    }