<commit_before># -*- coding: utf-8 -*-
# Copyright (c) 2018, <NAME> <<EMAIL>>
# Copyright (c) 2018 Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

from __future__ import (absolute_import, division, print_function)

__metaclass__ = type

DOCUMENTATION = '''
    name: gitlab_runners
    plugin_type: inventory
    version_added: '2.8'
    authors:
      - <NAME> (<EMAIL>)
    short_description: Ansible dynamic inventory plugin for Gitlab runners.
    requirements:
        - python >= 2.7
        - python-gitlab > 1.8.0
    extends_documentation_fragment:
        - constructed
    description:
        - Reads inventories from the Gitlab API.
        - Uses a YAML configuration file gitlab_runners.[yml|yaml].
    options:
        plugin:
            description: The name of this plugin, it should always be set to 'gitlab_runners' for this plugin to recognize it as it's own.
            type: str
            required: true
            choices: gitlab_runners
        server_url:
            description: The URL of the Gitlab server, with protocol (i.e. http or https).
            type: str
            required: true
            default: https://gitlab.com
        api_token:
            description: Gitlab token for logging in.<commit_msg>gitlab_runners (#60370)<commit_after># -*- coding: utf-8 -*-
# Copyright (c) 2018, <NAME> <<EMAIL>>
# Copyright (c) 2018 Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

from __future__ import (absolute_import, division, print_function)

__metaclass__ = type

DOCUMENTATION = '''
    name: gitlab_runners
    plugin_type: inventory
    version_added: '2.8'
    authors:
      - <NAME> (<EMAIL>)
    short_description: Ansible dynamic inventory plugin for Gitlab runners.
    requirements:
        - python >= 2.7
        - python-gitlab > 1.8.0
    extends_documentation_fragment:
        - constructed
    description:
        - Reads inventories from the Gitlab API.
        - Uses a YAML configuration file gitlab_runners.[yml|yaml].
    options:
        plugin:
            description: The name of this plugin, it should always be set to 'gitlab_runners' for this plugin to recognize it as it's own.
            type: str
            required: true
            choices:
              - gitlab_runners
        server_url:
            description: The URL of the Gitlab server, with protocol (i.e. http or https).
            type: str
            required: true
            default: https://gitlab.com
        api_token:
            description: Gitlab token for logging in.
{'fraction_non_alphanumeric': 0.08823529411764706, 'fraction_numerical': 0.016968325791855202, 'mean_word_length': 2.2834158415841586, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 17, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6073352', 'n_tokens_mistral': 789, 'n_tokens_neox': 751, 'n_words': 250}