id
int64
0
458k
file_name
stringlengths
4
119
file_path
stringlengths
14
227
content
stringlengths
24
9.96M
size
int64
24
9.96M
language
stringclasses
1 value
extension
stringclasses
14 values
total_lines
int64
1
219k
avg_line_length
float64
2.52
4.63M
max_line_length
int64
5
9.91M
alphanum_fraction
float64
0
1
repo_name
stringlengths
7
101
repo_stars
int64
100
139k
repo_forks
int64
0
26.4k
repo_open_issues
int64
0
2.27k
repo_license
stringclasses
12 values
repo_extraction_date
stringclasses
433 values
14,300
base.py
ansible_ansible/lib/ansible/module_utils/facts/hardware/base.py
# This code is part of Ansible, but is an independent component. # This particular file snippet, and this file snippet only, is BSD licensed. # Modules you write using this snippet, which is embedded dynamically by Ansible # still belong to the author of the module, and may assign their own license # to the complete wo...
2,751
Python
.py
54
45.759259
92
0.725782
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,301
freebsd.py
ansible_ansible/lib/ansible/module_utils/facts/hardware/freebsd.py
# This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed in the hope that ...
10,021
Python
.py
241
30.219917
112
0.54748
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,302
aix.py
ansible_ansible/lib/ansible/module_utils/facts/hardware/aix.py
# This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed in the hope that ...
10,681
Python
.py
227
32.929515
141
0.491934
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,303
dragonfly.py
ansible_ansible/lib/ansible/module_utils/facts/hardware/dragonfly.py
# This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed in the hope that ...
1,037
Python
.py
21
47.619048
87
0.794466
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,304
netbsd.py
ansible_ansible/lib/ansible/module_utils/facts/hardware/netbsd.py
# This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed in the hope that ...
6,234
Python
.py
154
31.233766
93
0.594577
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,305
hpux.py
ansible_ansible/lib/ansible/module_utils/facts/hardware/hpux.py
# This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed in the hope that ...
8,504
Python
.py
145
46.413793
147
0.582944
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,306
darwin.py
ansible_ansible/lib/ansible/module_utils/facts/hardware/darwin.py
# This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed in the hope that ...
5,899
Python
.py
128
36.484375
118
0.609097
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,307
openbsd.py
ansible_ansible/lib/ansible/module_utils/facts/hardware/openbsd.py
# This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed in the hope that ...
6,934
Python
.py
153
36.235294
89
0.609218
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,308
datetime.py
ansible_ansible/lib/ansible/module_utils/compat/datetime.py
# Copyright (c) 2023 Ansible # Simplified BSD License (see licenses/simplified_bsd.txt or https://opensource.org/licenses/BSD-2-Clause) from __future__ import annotations from ansible.module_utils.six import PY3 import datetime if PY3: UTC = datetime.timezone.utc else: _ZERO = datetime.timedelta(0) cl...
901
Python
.py
24
31.791667
106
0.67555
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,309
paramiko.py
ansible_ansible/lib/ansible/module_utils/compat/paramiko.py
# -*- coding: utf-8 -*- # Copyright (c) 2019 Ansible Project # Simplified BSD License (see licenses/simplified_bsd.txt or https://opensource.org/licenses/BSD-2-Clause) from __future__ import annotations import types # pylint: disable=unused-import import warnings PARAMIKO_IMPORT_ERR = None try: with warnings.c...
1,265
Python
.py
22
53.227273
118
0.74657
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,310
selinux.py
ansible_ansible/lib/ansible/module_utils/compat/selinux.py
# Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations import os import sys from ansible.module_utils.common.text.converters import to_native, to_bytes from ctypes import CDLL, c_char_p, c_int, byref, POIN...
3,488
Python
.py
83
35.180723
108
0.665284
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,311
version.py
ansible_ansible/lib/ansible/module_utils/compat/version.py
# Vendored copy of distutils/version.py from CPython 3.9.5 # # Implements multiple version numbering conventions for the # Python Module Distribution Utilities. # # PSF License (see licenses/PSF-license.txt or https://opensource.org/licenses/Python-2.0) # """Provides classes to represent module version numbers (one cl...
12,734
Python
.py
292
37.280822
90
0.660265
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,312
importlib.py
ansible_ansible/lib/ansible/module_utils/compat/importlib.py
# Copyright (c) 2020 Matt Martz <matt@sivel.net> # Simplified BSD License (see licenses/simplified_bsd.txt or https://opensource.org/licenses/BSD-2-Clause) from __future__ import annotations from ansible.module_utils.common.warnings import deprecate def __getattr__(importable_name): """Inject import-time deprec...
813
Python
.py
20
33.95
106
0.668361
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,313
typing.py
ansible_ansible/lib/ansible/module_utils/compat/typing.py
"""Compatibility layer for the `typing` module, providing all Python versions access to the newest type-hinting features.""" from __future__ import annotations # pylint: disable=wildcard-import,unused-wildcard-import # catch *all* exceptions to prevent type annotation support module bugs causing runtime failures # (e...
736
Python
.py
18
37.777778
124
0.755618
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,314
config.py
ansible_ansible/lib/ansible/cli/config.py
#!/usr/bin/env python # Copyright: (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # PYTHON_ARGCOMPLETE_OK from __future__ import annotations # ansible.cli needs to be imported first, to ensure the source bin/* scripts run that code first from ans...
29,667
Python
.py
588
35.734694
160
0.544415
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,315
adhoc.py
ansible_ansible/lib/ansible/cli/adhoc.py
#!/usr/bin/env python # Copyright: (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # PYTHON_ARGCOMPLETE_OK from __future__ import annotations # ansible.cli needs to be imported first...
8,194
Python
.py
164
38.939024
120
0.617301
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,316
pull.py
ansible_ansible/lib/ansible/cli/pull.py
#!/usr/bin/env python # Copyright: (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # PYTHON_ARGCOMPLETE_OK from __future__ import annotations # ansible.cli needs to be imported first...
17,287
Python
.py
309
43.676375
157
0.593817
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,317
vault.py
ansible_ansible/lib/ansible/cli/vault.py
#!/usr/bin/env python # (c) 2014, James Tanner <tanner.jc@gmail.com> # Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # PYTHON_ARGCOMPLETE_OK from __future__ import annotations # ansible.cli needs to be imported first, to ensure the so...
22,954
Python
.py
372
48.545699
160
0.616203
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,318
console.py
ansible_ansible/lib/ansible/cli/console.py
#!/usr/bin/env python # Copyright: (c) 2014, Nandor Sivok <dominis@haxor.hu> # Copyright: (c) 2016, Redhat Inc # Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # PYTHON_ARGCOMPLETE_OK from __future__ import annotations # ansible.cli ne...
21,985
Python
.py
500
33.488
137
0.596829
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,319
galaxy.py
ansible_ansible/lib/ansible/cli/galaxy.py
#!/usr/bin/env python # Copyright: (c) 2013, James Cammarata <jcammarata@ansible.com> # Copyright: (c) 2018-2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # PYTHON_ARGCOMPLETE_OK from __future__ import annotations # ansible.cli needs to be imported f...
95,000
Python
.py
1,563
45.692258
158
0.590011
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,320
__init__.py
ansible_ansible/lib/ansible/cli/__init__.py
# Copyright: (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # Copyright: (c) 2016, Toshio Kuratomi <tkuratomi@ansible.com> # 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 annotations import locale impo...
28,096
Python
.py
558
38.65233
147
0.610894
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,321
doc.py
ansible_ansible/lib/ansible/cli/doc.py
#!/usr/bin/env python # Copyright: (c) 2014, James Tanner <tanner.jc@gmail.com> # Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # PYTHON_ARGCOMPLETE_OK from __future__ import annotations # ansible.cli needs to be imported first, to en...
70,451
Python
.py
1,318
39.861912
156
0.557502
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,322
inventory.py
ansible_ansible/lib/ansible/cli/inventory.py
#!/usr/bin/env python # Copyright: (c) 2017, Brian Coca <bcoca@ansible.com> # Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # PYTHON_ARGCOMPLETE_OK from __future__ import annotations # ansible.cli needs to be imported first, to ensure...
16,765
Python
.py
326
38.641104
153
0.588207
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,323
playbook.py
ansible_ansible/lib/ansible/cli/playbook.py
#!/usr/bin/env python # (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # PYTHON_ARGCOMPLETE_OK from __future__ import annotations # ansible.cli needs to be imported first, to ensure...
10,865
Python
.py
191
41.26178
124
0.572585
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,324
option_helpers.py
ansible_ansible/lib/ansible/cli/arguments/option_helpers.py
# 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 annotations import copy import operator import argparse import os import os.path import sys import time from jinja2 import __version__ as j2_version import ansib...
18,488
Python
.py
316
48.373418
158
0.6377
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,325
__init__.py
ansible_ansible/lib/ansible/cli/arguments/__init__.py
# 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 annotations
168
Python
.py
3
54.666667
92
0.75
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,326
ansible_connection_cli_stub.py
ansible_ansible/lib/ansible/cli/scripts/ansible_connection_cli_stub.py
# Copyright: (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations import fcntl import io import os import pickle import signal import socket import sys import time import traceback import errno import json from contex...
13,135
Python
.py
279
35.258065
155
0.602595
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,327
__init__.py
ansible_ansible/lib/ansible/errors/__init__.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) an...
14,943
Python
.py
287
40.797909
151
0.621779
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,328
yaml_strings.py
ansible_ansible/lib/ansible/errors/yaml_strings.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) an...
3,858
Python
.py
103
34.912621
81
0.733333
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,329
importlib_resources.py
ansible_ansible/lib/ansible/compat/importlib_resources.py
# Copyright: Contributors to the Ansible project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations import sys HAS_IMPORTLIB_RESOURCES = False if sys.version_info < (3, 10): try: from importlib_resources import files # type: i...
572
Python
.py
15
33.933333
102
0.728752
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,330
__init__.py
ansible_ansible/lib/ansible/compat/__init__.py
# (c) 2014, Toshio Kuratomi <tkuratomi@ansible.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later...
1,002
Python
.py
22
44.5
86
0.78141
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,331
task_queue_manager.py
ansible_ansible/lib/ansible/executor/task_queue_manager.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) an...
18,640
Python
.py
380
38.544737
156
0.634417
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,332
task_executor.py
ansible_ansible/lib/ansible/executor/task_executor.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations import os import time import json import pathlib import signal import subprocess import sys import traceb...
61,280
Python
.py
1,082
42.529575
157
0.59561
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,333
task_result.py
ansible_ansible/lib/ansible/executor/task_result.py
# Copyright: (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations from ansible import constants as C from ansible.parsing.dataloader import DataLoader from ansible.vars.clean import mod...
5,696
Python
.py
119
38.016807
124
0.615371
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,334
playbook_executor.py
ansible_ansible/lib/ansible/executor/playbook_executor.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) an...
14,764
Python
.py
272
37.477941
152
0.550714
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,335
module_common.py
ansible_ansible/lib/ansible/executor/module_common.py
# (c) 2013-2014, Michael DeHaan <michael.dehaan@gmail.com> # (c) 2015 Toshio Kuratomi <tkuratomi@ansible.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either...
65,755
Python
.py
1,186
45.597808
158
0.649
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,336
__init__.py
ansible_ansible/lib/ansible/executor/__init__.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) an...
749
Python
.py
17
43
70
0.77565
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,337
action_write_locks.py
ansible_ansible/lib/ansible/executor/action_write_locks.py
# (c) 2016 - Red Hat, Inc. <info@ansible.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later versi...
1,915
Python
.py
36
50.194444
100
0.747728
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,338
play_iterator.py
ansible_ansible/lib/ansible/executor/play_iterator.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) an...
32,913
Python
.py
592
40.97973
160
0.58596
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,339
stats.py
ansible_ansible/lib/ansible/executor/stats.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) an...
3,180
Python
.py
79
32.227848
81
0.618105
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,340
interpreter_discovery.py
ansible_ansible/lib/ansible/executor/interpreter_discovery.py
# 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 annotations import bisect import json import pkgutil import re from ansible import constants as C from ansible.errors import AnsibleError from ansible.module_utils...
9,975
Python
.py
156
53.724359
127
0.672776
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,341
python_target.py
ansible_ansible/lib/ansible/executor/discovery/python_target.py
# Copyright: (c) 2018 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # FUTURE: this could be swapped out for our bundled version of distro to move more complete platform # logic to the targets, so long as we maintain Py2.6 compat and don't need to do any ki...
1,181
Python
.py
30
35
108
0.70194
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,342
worker.py
ansible_ansible/lib/ansible/executor/process/worker.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) an...
10,041
Python
.py
222
34.085586
125
0.596238
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,343
__init__.py
ansible_ansible/lib/ansible/executor/process/__init__.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) an...
749
Python
.py
17
43
70
0.77565
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,344
module_manifest.py
ansible_ansible/lib/ansible/executor/powershell/module_manifest.py
# (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 annotations import base64 import errno import json import os import pkgutil import secrets import re from importlib import import_module from ansible.module_utils.compat.vers...
17,365
Python
.py
328
41.176829
124
0.60224
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,345
template.py
ansible_ansible/lib/ansible/template/template.py
# (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any lat...
1,583
Python
.py
36
39.333333
93
0.72013
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,346
native_helpers.py
ansible_ansible/lib/ansible/template/native_helpers.py
# 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 annotations import ast from itertools import islice, chain from types import GeneratorType from ansible.module_utils.common.text.converters import to_text from a...
4,333
Python
.py
105
33.333333
92
0.651335
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,347
vars.py
ansible_ansible/lib/ansible/template/vars.py
# (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations from collections import ChainMap from jinja2.utils import missing from ansible.errors import AnsibleError, AnsibleUndefinedVariable fro...
2,854
Python
.py
60
38.416667
131
0.6435
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,348
__init__.py
ansible_ansible/lib/ansible/template/__init__.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) an...
40,402
Python
.py
840
37.834524
156
0.630308
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,349
loader.py
ansible_ansible/lib/ansible/plugins/loader.py
# (c) 2012, Daniel Hokka Zakrisson <daniel@hozac.com> # (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> and others # (c) 2017, Toshio Kuratomi <tkuratomi@ansible.com> # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import ...
74,433
Python
.py
1,341
43.832215
159
0.629801
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,350
__init__.py
ansible_ansible/lib/ansible/plugins/__init__.py
# (c) 2012, Daniel Hokka Zakrisson <daniel@hozac.com> # (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> and others # (c) 2017, Toshio Kuratomi <tkuratomi@ansible.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Pub...
5,803
Python
.py
123
40.650407
158
0.689936
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,351
list.py
ansible_ansible/lib/ansible/plugins/list.py
# (c) Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations import os from ansible import context from ansible import constants as C from ansible.collections.list import list_collections from ansible.errors import AnsibleError...
8,920
Python
.py
170
40.147059
143
0.593107
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,352
auto.py
ansible_ansible/lib/ansible/plugins/inventory/auto.py
# Copyright (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = """ name: auto author: - Matt Davis (@nitzmahone) version_added: "2.5" short_description: Loads and executes an inv...
2,443
Python
.py
47
44.829787
136
0.700546
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,353
generator.py
ansible_ansible/lib/ansible/plugins/inventory/generator.py
# Copyright (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = """ name: generator version_added: "2.6" short_description: Uses Jinja2 to construct hosts and groups from patterns descr...
5,495
Python
.py
113
38.40708
131
0.623205
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,354
advanced_host_list.py
ansible_ansible/lib/ansible/plugins/inventory/advanced_host_list.py
# Copyright (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = """ name: advanced_host_list version_added: "2.4" short_description: Parses a 'host list' with ranges description: ...
2,168
Python
.py
47
36.297872
117
0.625831
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,355
__init__.py
ansible_ansible/lib/ansible/plugins/inventory/__init__.py
# (c) 2017, Red Hat, inc # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is d...
20,608
Python
.py
377
41.498674
154
0.595275
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,356
constructed.py
ansible_ansible/lib/ansible/plugins/inventory/constructed.py
# Copyright (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = """ name: constructed version_added: "2.4" short_description: Uses Jinja2 to construct vars and groups based on existing inve...
7,551
Python
.py
137
45.394161
147
0.661739
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,357
yaml.py
ansible_ansible/lib/ansible/plugins/inventory/yaml.py
# Copyright (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = """ name: yaml version_added: "2.4" short_description: Uses a specific YAML file as an inventory source. description: ...
7,415
Python
.py
151
36.225166
152
0.579428
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,358
script.py
ansible_ansible/lib/ansible/plugins/inventory/script.py
# Copyright (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # Copyright (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = ''' name: script version_added: "2.4" short_description:...
12,326
Python
.py
258
37.077519
146
0.594935
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,359
host_list.py
ansible_ansible/lib/ansible/plugins/inventory/host_list.py
# Copyright (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" name: host_list version_added: "2.4" short_description: Parses a 'host list' string description: - Parses a ...
2,252
Python
.py
49
36.877551
117
0.635574
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,360
toml.py
ansible_ansible/lib/ansible/plugins/inventory/toml.py
# Copyright (c) 2018 Matt Martz <matt@sivel.net> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" name: toml version_added: "2.8" short_description: Uses a specific TOML file as an inventory source. des...
9,587
Python
.py
246
31.02439
113
0.62831
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,361
ini.py
ansible_ansible/lib/ansible/plugins/inventory/ini.py
# Copyright (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = """ name: ini version_added: "2.4" short_description: Uses an Ansible INI file as inventory source. description: -...
17,553
Python
.py
326
42.717791
159
0.611202
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,362
mathstuff.py
ansible_ansible/lib/ansible/plugins/test/mathstuff.py
# (c) 2016, Ansible, Inc # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is di...
1,508
Python
.py
46
27.543478
89
0.664824
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,363
__init__.py
ansible_ansible/lib/ansible/plugins/test/__init__.py
# (c) Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations from ansible.plugins import AnsibleJinja2Plugin class AnsibleJinja2Test(AnsibleJinja2Plugin): def _no_options(self, *args, **kwargs): raise NotImplemente...
418
Python
.py
7
56.285714
124
0.780788
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,364
uri.py
ansible_ansible/lib/ansible/plugins/test/uri.py
# (c) Ansible Project from __future__ import annotations from urllib.parse import urlparse def is_uri(value, schemes=None): """ Will verify that the string passed is a valid 'URI', if given a list of valid schemes it will match those """ try: x = urlparse(value) isit = all([x.scheme is not N...
1,042
Python
.py
32
25.4375
117
0.596192
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,365
core.py
ansible_ansible/lib/ansible/plugins/test/core.py
# (c) 2012, Jeroen Hoekx <jeroen@hoekx.be> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version....
9,979
Python
.py
240
34.416667
111
0.646195
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,366
files.py
ansible_ansible/lib/ansible/plugins/test/files.py
# (c) 2015, Ansible, Inc # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is di...
1,407
Python
.py
39
29.384615
84
0.633627
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,367
host_group_vars.py
ansible_ansible/lib/ansible/plugins/vars/host_group_vars.py
# Copyright 2017 RedHat, inc # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible i...
6,284
Python
.py
133
35.323308
136
0.589204
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,368
__init__.py
ansible_ansible/lib/ansible/plugins/vars/__init__.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # (c) 2014, Serge van Ginderachter <serge@vanginderachter.be> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundat...
1,331
Python
.py
34
36.058824
70
0.735659
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,369
su.py
ansible_ansible/lib/ansible/plugins/become/su.py
# -*- coding: utf-8 -*- # 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 annotations DOCUMENTATION = """ name: su short_description: Substitute User description: - This become plugin allows you...
5,326
Python
.py
152
23.421053
114
0.537118
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,370
sudo.py
ansible_ansible/lib/ansible/plugins/become/sudo.py
# -*- coding: utf-8 -*- # 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 annotations DOCUMENTATION = """ name: sudo short_description: Substitute User DO description: - This become plugin allow...
3,982
Python
.py
106
25.471698
116
0.529518
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,371
__init__.py
ansible_ansible/lib/ansible/plugins/become/__init__.py
# -*- coding: utf-8 -*- # 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 annotations import shlex from abc import abstractmethod from secrets import choice from string import ascii_lowercase from gettext import d...
4,009
Python
.py
84
39.928571
129
0.659405
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,372
runas.py
ansible_ansible/lib/ansible/plugins/become/runas.py
# -*- coding: utf-8 -*- # 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 annotations DOCUMENTATION = """ name: runas short_description: Run As user description: - This become plugin allows your...
2,564
Python
.py
68
26.794118
126
0.57751
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,373
template.py
ansible_ansible/lib/ansible/plugins/action/template.py
# Copyright: (c) 2015, Michael DeHaan <michael.dehaan@gmail.com> # 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 annotations import os import shutil import stat import tempfile from jinja2.defaults import ( ...
9,979
Python
.py
170
42.676471
142
0.5792
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,374
include_vars.py
ansible_ansible/lib/ansible/plugins/action/include_vars.py
# Copyright: (c) 2016, Allen Sanabria <asanabria@linuxdynasty.org> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations from os import path, walk import re import pathlib import ansible.constants as C from ansible.errors import AnsibleError f...
11,573
Python
.py
246
34.756098
128
0.575873
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,375
normal.py
ansible_ansible/lib/ansible/plugins/action/normal.py
# (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any lat...
1,854
Python
.py
38
43.921053
101
0.725208
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,376
command.py
ansible_ansible/lib/ansible/plugins/action/command.py
# Copyright: (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations from ansible.plugins.action import ActionBase from ansible.utils.vars import merge_hash class ActionModule(ActionBase): def run(self, tmp=None, ...
1,069
Python
.py
18
52.388889
141
0.716203
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,377
raw.py
ansible_ansible/lib/ansible/plugins/action/raw.py
# (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any lat...
1,762
Python
.py
38
40.552632
113
0.694104
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,378
fetch.py
ansible_ansible/lib/ansible/plugins/action/fetch.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) an...
10,165
Python
.py
179
40.748603
144
0.564899
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,379
group_by.py
ansible_ansible/lib/ansible/plugins/action/group_by.py
# Copyright 2012, Jeroen Hoekx <jeroen@hoekx.be> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later ve...
1,894
Python
.py
42
39.785714
84
0.687466
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,380
pause.py
ansible_ansible/lib/ansible/plugins/action/pause.py
# Copyright 2012, Tim Bielawa <tbielawa@redhat.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later...
5,674
Python
.py
124
36.08871
129
0.60123
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,381
dnf.py
ansible_ansible/lib/ansible/plugins/action/dnf.py
# Copyright: (c) 2023, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations from ansible.errors import AnsibleActionFail from ansible.plugins.action import ActionBase from ansible.utils.display import Display display = Display(...
3,667
Python
.py
65
43.353846
133
0.590173
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,382
fail.py
ansible_ansible/lib/ansible/plugins/action/fail.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # (c) 2012, Dag Wieers <dag@wieers.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 ...
1,457
Python
.py
35
37.314286
70
0.70297
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,383
copy.py
ansible_ansible/lib/ansible/plugins/action/copy.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # (c) 2017 Toshio Kuratomi <tkuraotmi@ansible.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either...
27,422
Python
.py
496
42.282258
133
0.599732
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,384
assert.py
ansible_ansible/lib/ansible/plugins/action/assert.py
# Copyright 2012, Dag Wieers <dag@wieers.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later versi...
3,844
Python
.py
76
42.552632
123
0.664
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,385
add_host.py
ansible_ansible/lib/ansible/plugins/action/add_host.py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # Copyright 2012, Seth Vidal <skvidal@fedoraproject.org> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, ...
3,579
Python
.py
77
38.961039
121
0.664466
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,386
__init__.py
ansible_ansible/lib/ansible/plugins/action/__init__.py
# coding: utf-8 # Copyright: (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # 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 annotations import base64 import json import os import re import secrets impo...
69,202
Python
.py
1,197
45.028404
160
0.611573
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,387
package.py
ansible_ansible/lib/ansible/plugins/action/package.py
# (c) 2015, Ansible Inc, # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is di...
5,014
Python
.py
91
40.241758
158
0.581191
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,388
script.py
ansible_ansible/lib/ansible/plugins/action/script.py
# (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any lat...
8,482
Python
.py
146
45.452055
133
0.615912
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,389
set_stats.py
ansible_ansible/lib/ansible/plugins/action/set_stats.py
# Copyright 2016 Ansible (RedHat, Inc) # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # #...
2,819
Python
.py
58
38.724138
153
0.620489
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,390
uri.py
ansible_ansible/lib/ansible/plugins/action/uri.py
# -*- coding: utf-8 -*- # (c) 2015, Brian Coca <briancoca+dev@gmail.com> # (c) 2018, Matt Martz <matt@sivel.net> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations import os from ansible.errors import AnsibleError, AnsibleAction, _Ansible...
3,981
Python
.py
74
39.135135
152
0.579583
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,391
debug.py
ansible_ansible/lib/ansible/plugins/action/debug.py
# Copyright 2012, Dag Wieers <dag@wieers.com> # Copyright 2016, Toshio Kuratomi <tkuratomi@ansible.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either versi...
3,472
Python
.py
72
37.708333
122
0.606141
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,392
shell.py
ansible_ansible/lib/ansible/plugins/action/shell.py
# Copyright: (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations from ansible.errors import AnsibleActionFail from ansible.plugins.action import ActionBase class ActionModule(ActionBase): def run(self, tmp=Non...
1,527
Python
.py
23
43.695652
117
0.534448
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,393
service.py
ansible_ansible/lib/ansible/plugins/action/service.py
# (c) 2015, Ansible Inc, # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is di...
4,563
Python
.py
81
45
154
0.626765
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,394
set_fact.py
ansible_ansible/lib/ansible/plugins/action/set_fact.py
# Copyright 2013 Dag Wieers <dag@wieers.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later versio...
2,798
Python
.py
54
43.740741
143
0.676557
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,395
validate_argument_spec.py
ansible_ansible/lib/ansible/plugins/action/validate_argument_spec.py
# Copyright 2021 Red Hat # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations from ansible.errors import AnsibleError from ansible.plugins.action import ActionBase from ansible.module_utils.common.arg_spec import ArgumentSpecValidator from ans...
3,937
Python
.py
68
48.602941
130
0.674642
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,396
gather_facts.py
ansible_ansible/lib/ansible/plugins/action/gather_facts.py
# Copyright (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations import os import time import typing as t from ansible import constants as C from ansible.executor.module_common import get_action_args_with_defaults fro...
7,863
Python
.py
138
43.797101
155
0.590661
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,397
assemble.py
ansible_ansible/lib/ansible/plugins/action/assemble.py
# (c) 2013-2016, Michael DeHaan <michael.dehaan@gmail.com> # Stephen Fromm <sfromm@gmail.com> # Brian Coca <briancoca+dev@gmail.com> # Toshio Kuratomi <tkuratomi@ansible.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under t...
6,529
Python
.py
130
39.169231
136
0.616436
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,398
async_status.py
ansible_ansible/lib/ansible/plugins/action/async_status.py
# 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 annotations from ansible.plugins.action import ActionBase from ansible.utils.vars import merge_hash class ActionModule(ActionBase): def _get_async_dir(self)...
1,726
Python
.py
35
40.428571
152
0.620299
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,399
reboot.py
ansible_ansible/lib/ansible/plugins/action/reboot.py
# Copyright: (c) 2016-2018, Matt Davis <mdavis@ansible.com> # Copyright: (c) 2018, Sam Doran <sdoran@redhat.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations import secrets import time from datetime import datetime, timedelta, timezon...
22,032
Python
.py
406
41.248768
158
0.597485
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)