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,100
_junit_xml.py
ansible_ansible/lib/ansible/utils/_junit_xml.py
""" Dataclasses for creating JUnit XML files. See: https://github.com/junit-team/junit5/blob/main/platform-tests/src/test/resources/jenkins-junit.xsd """ from __future__ import annotations import abc import dataclasses import datetime import decimal from xml.dom import minidom # noinspection PyPep8Naming from xml.et...
8,671
Python
.py
211
33.691943
154
0.65078
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,101
unicode.py
ansible_ansible/lib/ansible/utils/unicode.py
# (c) 2012-2014, Toshio Kuratomi <a.badger@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,100
Python
.py
24
43.875
75
0.754911
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,102
lock.py
ansible_ansible/lib/ansible/utils/lock.py
# Copyright (c) 2020 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 from functools import wraps def lock_decorator(attr='missing_lock_attr', lock=None): """This decorator is a generic implementation that...
1,306
Python
.py
32
32.90625
92
0.63083
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,103
jsonrpc.py
ansible_ansible/lib/ansible/utils/jsonrpc.py
# (c) 2017, Peter Sprygada <psprygad@redhat.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 json import pickle import traceback from ansible.module_utils.common.text.converters import to_text from an...
3,806
Python
.py
88
32.795455
99
0.602599
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,104
path.py
ansible_ansible/lib/ansible/utils/path.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...
6,051
Python
.py
131
39.473282
125
0.685462
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,105
fqcn.py
ansible_ansible/lib/ansible/utils/fqcn.py
# (c) 2020, Felix Fontein <felix@fontein.de> # # 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...
1,215
Python
.py
30
37.033333
74
0.722739
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,106
encrypt.py
ansible_ansible/lib/ansible/utils/encrypt.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 random import string from collections import namedtuple from ansible import constants as C from ...
7,221
Python
.py
143
42.706294
128
0.6767
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,107
plugin_docs.py
ansible_ansible/lib/ansible/utils/plugin_docs.py
# Copyright: (c) 2012, Jan-Piet Mens <jpmens () 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.abc import MutableMapping, MutableSet, MutableSequence from pathlib import Path from ansible import constants as ...
15,151
Python
.py
278
44.68705
140
0.656125
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,108
listify.py
ansible_ansible/lib/ansible/utils/listify.py
# (c) 2014 Michael DeHaan, <michael@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 ve...
1,387
Python
.py
30
43.566667
111
0.764662
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,109
vars.py
ansible_ansible/lib/ansible/utils/vars.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...
9,640
Python
.py
213
36.859155
152
0.629187
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,110
galaxy.py
ansible_ansible/lib/ansible/utils/galaxy.py
# (c) 2014 Michael DeHaan, <michael@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 ve...
3,855
Python
.py
84
39.785714
146
0.666667
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,111
hashing.py
ansible_ansible/lib/ansible/utils/hashing.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...
2,837
Python
.py
69
37.478261
130
0.729818
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,112
display.py
ansible_ansible/lib/ansible/utils/display.py
# (c) 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) any lat...
32,856
Python
.py
730
35.183562
151
0.605497
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,113
unsafe_proxy.py
ansible_ansible/lib/ansible/utils/unsafe_proxy.py
# PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 # -------------------------------------------- # # 1. This LICENSE AGREEMENT is between the Python Software Foundation # ("PSF"), and the Individual or Organization ("Licensee") accessing and # otherwise using this software ("Python") in source or binary form and # its ass...
4,694
Python
.py
100
43.95
89
0.745566
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,114
py3compat.py
ansible_ansible/lib/ansible/utils/py3compat.py
# -*- coding: utf-8 -*- # # (c) 2018, Toshio Kuratomi <a.badger@gmail.com> # 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 inspect import os from ansible.utils.display import Displa...
720
Python
.py
22
27.818182
92
0.677326
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,115
__init__.py
ansible_ansible/lib/ansible/utils/__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,116
sentinel.py
ansible_ansible/lib/ansible/utils/sentinel.py
# -*- coding: utf-8 -*- # 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 # For Backward compatibility from ansible.module_utils.common.sentinel import Sentinel # pylint: disable=unused-impo...
323
Python
.py
6
52.5
92
0.774603
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,117
color.py
ansible_ansible/lib/ansible/utils/color.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...
4,057
Python
.py
97
35.237113
85
0.630005
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,118
singleton.py
ansible_ansible/lib/ansible/utils/singleton.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 threading import RLock class Singleton(type): """Metaclass for classes that wish to implement Singleton functionality. If an instance of ...
865
Python
.py
20
36.3
92
0.640811
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,119
ssh_functions.py
ansible_ansible/lib/ansible/utils/ssh_functions.py
# (c) 2016, James Tanner # (c) 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 version 3 of the License, or # (...
2,216
Python
.py
51
38.960784
139
0.721525
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,120
helpers.py
ansible_ansible/lib/ansible/utils/helpers.py
# (c) 2016, Ansible by Red Hat <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 v...
1,759
Python
.py
41
39.365854
108
0.71462
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,121
shlex.py
ansible_ansible/lib/ansible/utils/shlex.py
# (c) 2015, Marius Gedminas <marius@gedmin.as> # # 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 vers...
841
Python
.py
20
40.85
70
0.76989
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,122
context_objects.py
ansible_ansible/lib/ansible/utils/context_objects.py
# Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) """ Hold command line arguments for use in other modules """ from __future__ import annotations from abc import ABCMeta from collections.abc import Container, Mapping, Sequence, Set fro...
3,034
Python
.py
73
34.643836
100
0.686927
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,123
version.py
ansible_ansible/lib/ansible/utils/version.py
# Copyright (c) 2020 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 re from ansible.module_utils.compat.version import LooseVersion, Version # Regular expression taken from # https://semver.org/#is-t...
7,736
Python
.py
208
28.1875
115
0.579215
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,124
cmd_functions.py
ansible_ansible/lib/ansible/utils/cmd_functions.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...
2,180
Python
.py
55
33.290909
81
0.663357
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,125
native_jinja.py
ansible_ansible/lib/ansible/utils/native_jinja.py
# Copyright: (c) 2020, 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.module_utils.six import text_type class NativeJinjaText(text_type): pass
262
Python
.py
6
41.166667
92
0.772908
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,126
multiprocessing.py
ansible_ansible/lib/ansible/utils/multiprocessing.py
# Copyright (c) 2019 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 multiprocessing # Explicit multiprocessing context using the fork start method # This exists as a compat layer now that Python3.8 has...
614
Python
.py
12
49.916667
92
0.796327
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,127
_collection_config.py
ansible_ansible/lib/ansible/utils/collection_loader/_collection_config.py
# (c) 2019 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # CAUTION: This implementation of the collection loader is used by ansible-test. # Because of this, it must be compatible with all Python versions supported on the controller or remote. fro...
3,094
Python
.py
76
33.210526
113
0.668115
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,128
_collection_meta.py
ansible_ansible/lib/ansible/utils/collection_loader/_collection_meta.py
# (c) 2019 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # CAUTION: This implementation of the collection loader is used by ansible-test. # Because of this, it must be compatible with all Python versions supported on the controller or remote. fro...
1,398
Python
.py
25
51.8
120
0.756401
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,129
_collection_finder.py
ansible_ansible/lib/ansible/utils/collection_loader/_collection_finder.py
# (c) 2019 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # CAUTION: This implementation of the collection loader is used by ansible-test. # Because of this, it must be compatible with all Python versions supported on the controller or remote. fro...
55,430
Python
.py
1,016
45.094488
148
0.659839
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,130
__init__.py
ansible_ansible/lib/ansible/utils/collection_loader/__init__.py
# (c) 2019 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # CAUTION: This implementation of the collection loader is used by ansible-test. # Because of this, it must be compatible with all Python versions supported on the controller or remote. fro...
1,065
Python
.py
20
50
113
0.7625
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,131
list.py
ansible_ansible/lib/ansible/collections/list.py
# (c) 2019 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 AnsibleError from ansible.cli.galaxy import with_collection_artifacts_manager from ansible.galaxy.collection import find_existing_collect...
2,873
Python
.py
53
45
146
0.694662
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,132
template.py
ansible_ansible/lib/ansible/modules/template.py
# -*- coding: utf-8 -*- # Copyright: (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # This is a virtual module that is entirely implemented as an action plugin and runs on the controller from __future__ import annotations DOCUMENTATION = r""" ...
4,537
Python
.py
152
26.125
129
0.728562
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,133
setup.py
ansible_ansible/lib/ansible/modules/setup.py
# -*- coding: utf-8 -*- # (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 DOCUMENTATION = """ --- module: setup version_added: historical short_description: Gathers facts about remote ...
11,034
Python
.py
198
46.520202
120
0.661731
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,134
package_facts.py
ansible_ansible/lib/ansible/modules/package_facts.py
# (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # most of it copied from AWX's scan_packages module from __future__ import annotations DOCUMENTATION = """ module: package_facts short_description: Package information as facts description: - R...
16,806
Python
.py
456
26.425439
141
0.533682
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,135
slurp.py
ansible_ansible/lib/ansible/modules/slurp.py
# -*- coding: utf-8 -*- # (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 DOCUMENTATION = r""" --- module: slurp version_added: historical short_description: Slurps a file from remote ...
3,208
Python
.py
103
26.893204
92
0.675737
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,136
expect.py
ansible_ansible/lib/ansible/modules/expect.py
# -*- coding: utf-8 -*- # (c) 2015, 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""" --- module: expect version_added: '2.0' short_description: Executes a command and responds to prompts d...
9,369
Python
.py
242
30.739669
125
0.630815
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,137
user.py
ansible_ansible/lib/ansible/modules/user.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, Stephen Fromm <sfromm@gmail.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" module: user version_added: "0.2" short_description: Manage user accounts description: ...
123,301
Python
.py
2,915
30.095712
159
0.543816
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,138
apt.py
ansible_ansible/lib/ansible/modules/apt.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, Flowroute LLC # Written by Matthew Williams <matthew@flowroute.com> # Based on yum module written by Seth Vidal <skvidal at fedoraproject.org> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations...
61,956
Python
.py
1,345
36.166543
166
0.615074
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,139
include_vars.py
ansible_ansible/lib/ansible/modules/include_vars.py
# -*- coding: utf-8 -*- # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" --- author: Allen Sanabria (@linuxdynasty) module: include_vars short_description: Load variables from files, dynamically within a task descrip...
6,722
Python
.py
181
32.430939
159
0.707018
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,140
cron.py
ansible_ansible/lib/ansible/modules/cron.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, Dane Summers <dsummers@pinedesk.biz> # Copyright: (c) 2013, Mike Grozak <mike.grozak@gmail.com> # Copyright: (c) 2013, Patrick Callahan <pmc@patrickcallahan.com> # Copyright: (c) 2015, Evan Kaufman <evan@digitalflophouse.com> # Copyright: (c) 2015, Luca Berruti <nadirio@...
26,411
Python
.py
658
30.952888
125
0.586375
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,141
meta.py
ansible_ansible/lib/ansible/modules/meta.py
# -*- coding: utf-8 -*- # Copyright: (c) 2016, Ansible, a Red Hat company # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" module: meta short_description: Execute Ansible 'actions' version_added: '1.2' description: ...
6,620
Python
.py
115
52.756522
156
0.741026
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,142
include_role.py
ansible_ansible/lib/ansible/modules/include_role.py
# -*- coding: utf-8 -*- # Copyright: 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""" --- author: Ansible Core Team (@ansible) module: include_role short_description: Load and execute a role descripti...
4,223
Python
.py
127
29.314961
144
0.717258
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,143
systemd_service.py
ansible_ansible/lib/ansible/modules/systemd_service.py
# -*- coding: utf-8 -*- # Copyright: (c) 2016, Brian Coca <bcoca@ansible.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = """ module: systemd_service author: - Ansible Core Team version_added: "2.2" short_descrip...
24,990
Python
.py
520
36.792308
182
0.581814
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,144
hostname.py
ansible_ansible/lib/ansible/modules/hostname.py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2013, Hiroaki Nakamura <hnakamur@gmail.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = """ --- module: hostname author: - Adrian Likins (@alikins) -...
28,729
Python
.py
700
33.114286
151
0.639157
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,145
rpm_key.py
ansible_ansible/lib/ansible/modules/rpm_key.py
# -*- coding: utf-8 -*- # Ansible module to import third party repo keys to your rpm db # Copyright: (c) 2013, Héctor Acosta <hector.acosta@gazzang.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = """ --- module: r...
9,312
Python
.py
229
31.703057
127
0.600265
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,146
command.py
ansible_ansible/lib/ansible/modules/command.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, Michael DeHaan <michael.dehaan@gmail.com>, and others # Copyright: (c) 2016, Toshio Kuratomi <tkuratomi@ansible.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" ---...
13,962
Python
.py
335
35.946269
159
0.675282
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,147
raw.py
ansible_ansible/lib/ansible/modules/raw.py
# This is a virtual module that is entirely implemented server side # Copyright: (c) 2012, 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""" --- module: raw short_description: Executes a low-down and d...
3,741
Python
.py
81
41.703704
145
0.736035
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,148
fetch.py
ansible_ansible/lib/ansible/modules/fetch.py
# -*- coding: utf-8 -*- # Copyright: (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # This is a virtual module that is entirely implemented as an action plugin and runs on the controller from __future__ import annotations DOCUMENTATION = r""" ...
4,191
Python
.py
114
33.333333
116
0.736726
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,149
group_by.py
ansible_ansible/lib/ansible/modules/group_by.py
# -*- mode: python -*- # Copyright: (c) 2012, Jeroen Hoekx (@jhoekx) # Copyright: Ansible Team # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" --- module: group_by short_description: Create Ansible groups based on f...
2,416
Python
.py
80
26.5
148
0.719502
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,150
pause.py
ansible_ansible/lib/ansible/modules/pause.py
# -*- coding: utf-8 -*- # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = """ --- module: pause short_description: Pause playbook execution description: - Pauses playbook execution for a set amount of time, or until a pro...
3,796
Python
.py
111
30.405405
143
0.732391
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,151
apt_key.py
ansible_ansible/lib/ansible/modules/apt_key.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # Copyright: (c) 2012, Jayson Vantuyl <jayson@aggressive.ly> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = """ --- module: apt_k...
18,125
Python
.py
437
33.576659
160
0.627465
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,152
file.py
ansible_ansible/lib/ansible/modules/file.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, 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 = r""" --- module: file version_added: histori...
39,669
Python
.py
882
35.60771
147
0.613448
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,153
dnf.py
ansible_ansible/lib/ansible/modules/dnf.py
# -*- coding: utf-8 -*- # Copyright 2015 Cristian van Ee <cristian at cvee.org> # Copyright 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> # Copyright 2018 Adam Miller <admiller@redhat.com> # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotatio...
52,288
Python
.py
1,144
33.103147
149
0.577698
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,154
sysvinit.py
ansible_ansible/lib/ansible/modules/sysvinit.py
# -*- coding: utf-8 -*- # (c) 2017, Brian Coca <bcoca@ansible.com> # (c) 2017, Adam Miller <admiller@redhat.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 DOCUMENTATION = """ module: sysvinit author: ...
13,956
Python
.py
328
32.719512
136
0.563982
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,155
ping.py
ansible_ansible/lib/ansible/modules/ping.py
# -*- coding: utf-8 -*- # (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # (c) 2016, Toshio Kuratomi <tkuratomi@ansible.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = """ --- module: ping version_added: histor...
2,325
Python
.py
72
28.375
102
0.706303
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,156
fail.py
ansible_ansible/lib/ansible/modules/fail.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, Dag Wieers <dag@wieers.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" --- module: fail short_description: Fail with custom message description: - This module fail...
1,659
Python
.py
57
25.350877
107
0.715091
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,157
dnf5.py
ansible_ansible/lib/ansible/modules/dnf5.py
# -*- coding: utf-8 -*- # Copyright 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 DOCUMENTATION = """ module: dnf5 author: Ansible Core Team description: - Installs, upgrade, removes, and lists packages and group...
28,230
Python
.py
691
32.311143
156
0.639707
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,158
git.py
ansible_ansible/lib/ansible/modules/git.py
# -*- coding: utf-8 -*- # (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 DOCUMENTATION = """ --- module: git author: - "Ansible Core Team" - "Michael DeHaan" version_added: "0...
57,029
Python
.py
1,240
37.050806
154
0.618489
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,159
debconf.py
ansible_ansible/lib/ansible/modules/debconf.py
# -*- coding: utf-8 -*- # Copyright: (c) 2014, Brian Coca <briancoca+ansible@gmail.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" --- module: debconf short_description: Configure a .deb package description: ...
9,362
Python
.py
224
34.696429
150
0.653914
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,160
subversion.py
ansible_ansible/lib/ansible/modules/subversion.py
# -*- coding: utf-8 -*- # Copyright: (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 DOCUMENTATION = """ --- module: subversion short_description: Deploys a subversion repository descr...
13,485
Python
.py
350
30.842857
132
0.625
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,161
include_tasks.py
ansible_ansible/lib/ansible/modules/include_tasks.py
# -*- coding: utf-8 -*- # Copyright: 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""" --- author: Ansible Core Team (@ansible) module: include_tasks short_description: Dynamically include a task list...
2,659
Python
.py
86
26.77907
132
0.708708
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,162
lineinfile.py
ansible_ansible/lib/ansible/modules/lineinfile.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, Daniel Hokka Zakrisson <daniel@hozac.com> # Copyright: (c) 2014, Ahti Kitsik <ak@ahtik.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 DOCUMENTAT...
23,734
Python
.py
539
36.022263
148
0.6308
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,163
get_url.py
ansible_ansible/lib/ansible/modules/get_url.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, Jan-Piet Mens <jpmens () gmail.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" --- module: get_url short_description: Downloads files from HTTP, HTTPS, or FTP to n...
27,145
Python
.py
637
35.657771
150
0.665759
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,164
dpkg_selections.py
ansible_ansible/lib/ansible/modules/dpkg_selections.py
# -*- coding: utf-8 -*- # # Copyright: 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 = """ --- module: dpkg_selections short_description: Dpkg package selection selections description: - Change dpkg pa...
2,805
Python
.py
80
29.9625
125
0.680694
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,165
copy.py
ansible_ansible/lib/ansible/modules/copy.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, 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 = r""" --- module: copy version_added: histori...
32,104
Python
.py
679
37.952872
149
0.633661
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,166
assert.py
ansible_ansible/lib/ansible/modules/assert.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, Dag Wieers <dag@wieers.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" --- module: assert short_description: Asserts given expressions are true description: -...
2,954
Python
.py
100
24.99
111
0.680141
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,167
add_host.py
ansible_ansible/lib/ansible/modules/add_host.py
# -*- mode: python -*- # Copyright: (c) 2012, Seth Vidal (@skvidal) # Copyright: Ansible Team # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" --- module: add_host short_description: Add a host (and alternatively a g...
3,859
Python
.py
103
33.699029
152
0.714019
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,168
package.py
ansible_ansible/lib/ansible/modules/package.py
# -*- coding: utf-8 -*- # (c) 2015, 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 = """ --- module: package version_added: 2.0 author: - Ansible Core Team short_description: Generic OS package manag...
3,748
Python
.py
81
41.728395
160
0.738798
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,169
import_playbook.py
ansible_ansible/lib/ansible/modules/import_playbook.py
# -*- coding: utf-8 -*- # Copyright: 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""" --- author: Ansible Core Team (@ansible) module: import_playbook short_description: Import a playbook description...
2,056
Python
.py
65
28.615385
100
0.74798
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,170
script.py
ansible_ansible/lib/ansible/modules/script.py
# Copyright: (c) 2012, 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""" --- module: script version_added: "0.9" short_description: Runs a local script on a remote node after transferring it description...
4,410
Python
.py
105
38.066667
157
0.741327
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,171
set_stats.py
ansible_ansible/lib/ansible/modules/set_stats.py
# -*- coding: utf-8 -*- # Copyright: (c) 2016, Ansible RedHat, Inc # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" --- module: set_stats short_description: Define and display stats for the current ansible run descri...
2,641
Python
.py
74
31.081081
159
0.710547
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,172
uri.py
ansible_ansible/lib/ansible/modules/uri.py
# -*- coding: utf-8 -*- # Copyright: (c) 2013, Romeo Theriault <romeot () hawaii.edu> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" --- module: uri short_description: Interacts with webservices description: - In...
28,390
Python
.py
719
33.194715
158
0.666485
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,173
import_tasks.py
ansible_ansible/lib/ansible/modules/import_tasks.py
# -*- coding: utf-8 -*- # Copyright: 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""" --- author: Ansible Core Team (@ansible) module: import_tasks short_description: Import a task list description: ...
2,137
Python
.py
66
28.621212
120
0.72392
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,174
debug.py
ansible_ansible/lib/ansible/modules/debug.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012 Dag Wieers <dag@wieers.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" --- module: debug short_description: Print statements during execution description: - This mo...
2,908
Python
.py
88
29.181818
111
0.722776
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,175
service_facts.py
ansible_ansible/lib/ansible/modules/service_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) # originally copied from AWX's scan_services module to bring this functionality # into Core from __future__ import annotations DOCUMENTATION = r""" --- module: service_facts short_descr...
21,129
Python
.py
436
36.571101
157
0.570874
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,176
shell.py
ansible_ansible/lib/ansible/modules/shell.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) # There is no actual shell module source, when you use 'shell' in ansible, # it runs the 'command' module with special arguments and it behaves differently. # See...
6,830
Python
.py
189
32.047619
158
0.722424
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,177
iptables.py
ansible_ansible/lib/ansible/modules/iptables.py
# -*- coding: utf-8 -*- # Copyright: (c) 2015, Linus Unnebäck <linus@folkdatorn.se> # Copyright: (c) 2017, Sébastien DA ROCHA <sebastien@da-rocha.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""" --- module: ipta...
34,708
Python
.py
858
33.578089
128
0.644082
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,178
apt_repository.py
ansible_ansible/lib/ansible/modules/apt_repository.py
# encoding: utf-8 # Copyright: (c) 2012, Matt Wright <matt@nobien.net> # Copyright: (c) 2013, Alexander Saltanov <asd@mokote.com> # Copyright: (c) 2014, Rutger Spiertz <rutger@kumina.nl> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations ...
31,330
Python
.py
653
36.967841
157
0.601742
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,179
service.py
ansible_ansible/lib/ansible/modules/service.py
# -*- coding: utf-8 -*- # Copyright: (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 DOCUMENTATION = r""" --- module: service version_added: "0.1" short_description: Manage services d...
62,314
Python
.py
1,347
34.535264
158
0.574187
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,180
set_fact.py
ansible_ansible/lib/ansible/modules/set_fact.py
# -*- coding: utf-8 -*- # Copyright: (c) 2013, Dag Wieers (@dagwieers) <dag@wieers.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" --- module: set_fact short_description: Set host variable(s) and fact(s). versi...
5,721
Python
.py
110
47.127273
159
0.729561
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,181
import_role.py
ansible_ansible/lib/ansible/modules/import_role.py
# -*- coding: utf-8 -*- # Copyright: 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""" --- author: Ansible Core Team (@ansible) module: import_role short_description: Import a role into a play descripti...
3,707
Python
.py
109
29.724771
140
0.716435
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,182
getent.py
ansible_ansible/lib/ansible/modules/getent.py
# -*- coding: utf-8 -*- # Copyright: (c) 2014, Brian Coca <brian.coca+dev@gmail.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" --- module: getent short_description: A wrapper to the unix getent utility descrip...
5,644
Python
.py
167
27.167665
110
0.640654
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,183
known_hosts.py
ansible_ansible/lib/ansible/modules/known_hosts.py
# Copyright: (c) 2014, Matthew Vernon <mcv21@cam.ac.uk> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" --- module: known_hosts short_description: Add or remove a host from the C(known_hosts) file description: - ...
14,439
Python
.py
319
38.269592
145
0.640074
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,184
yum_repository.py
ansible_ansible/lib/ansible/modules/yum_repository.py
# encoding: utf-8 # (c) 2015-2016, Jiri Tyr <jiri.tyr@gmail.com> # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = """ --- module: yum_repository author: Jiri Tyr (@jtyr) version_added: '2.1' short_description: Add or rem...
24,461
Python
.py
623
32.094703
124
0.659255
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,185
tempfile.py
ansible_ansible/lib/ansible/modules/tempfile.py
# -*- coding: utf-8 -*- # Copyright: (c) 2016, Krzysztof Magosa <krzysztof@magosa.pl> # 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 = """ --- module: tempfile version_added: "2.3" s...
3,627
Python
.py
113
26.778761
103
0.680869
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,186
validate_argument_spec.py
ansible_ansible/lib/ansible/modules/validate_argument_spec.py
# -*- coding: utf-8 -*- # 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 DOCUMENTATION = r""" --- module: validate_argument_spec short_description: Validate role argument specs. description: - This module va...
3,042
Python
.py
104
24.403846
112
0.684786
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,187
stat.py
ansible_ansible/lib/ansible/modules/stat.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""" --- module: stat version_added: "1.3" short_description: Retrieve file or file system status description: - Retrieves facts...
18,658
Python
.py
486
29.148148
126
0.610345
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,188
gather_facts.py
ansible_ansible/lib/ansible/modules/gather_facts.py
# -*- coding: utf-8 -*- # 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 DOCUMENTATION = """ --- module: gather_facts version_added: 2.8 short_description: Gathers facts about remote hosts ...
3,107
Python
.py
64
43.15625
148
0.728111
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,189
async_wrapper.py
ansible_ansible/lib/ansible/modules/async_wrapper.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, Michael DeHaan <michael.dehaan@gmail.com>, and others # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations import errno import json import shlex import shutil import os import subprocess import ...
11,619
Python
.py
282
31.556738
120
0.589598
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,190
assemble.py
ansible_ansible/lib/ansible/modules/assemble.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, Stephen Fromm <sfromm@gmail.com> # Copyright: (c) 2016, Toshio Kuratomi <tkuratomi@ansible.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 DOCUME...
9,257
Python
.py
245
31.302041
112
0.660091
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,191
blockinfile.py
ansible_ansible/lib/ansible/modules/blockinfile.py
# -*- coding: utf-8 -*- # Copyright: (c) 2014, 2015 YAEGASHI Takeshi <yaegashi@debian.org> # 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""" --- module: blockinfile short_descrip...
15,450
Python
.py
375
34.261333
147
0.644792
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,192
deb822_repository.py
ansible_ansible/lib/ansible/modules/deb822_repository.py
# -*- coding: utf-8 -*- # 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 DOCUMENTATION = """ author: 'Ansible Core Team (@ansible)' short_description: 'Add and remove deb822 formatted reposi...
15,791
Python
.py
491
23.478615
106
0.58463
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,193
async_status.py
ansible_ansible/lib/ansible/modules/async_status.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, Michael DeHaan <michael.dehaan@gmail.com>, and others # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" --- module: async_status short_description: Obtain status of async...
4,574
Python
.py
149
26.040268
150
0.681436
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,194
wait_for.py
ansible_ansible/lib/ansible/modules/wait_for.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, Jeroen Hoekx <jeroen@hoekx.be> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = r""" --- module: wait_for short_description: Waits for a condition before continuing descripti...
27,322
Python
.py
627
32.704944
159
0.591397
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,195
replace.py
ansible_ansible/lib/ansible/modules/replace.py
# -*- coding: utf-8 -*- # Copyright: (c) 2013, Evan Kaufman <evan@digitalflophouse.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 = r""" --- module: replace author: Evan Kaufman ...
11,818
Python
.py
280
35.757143
114
0.650461
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,196
reboot.py
ansible_ansible/lib/ansible/modules/reboot.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 = r""" module: reboot short_description: Reboot a machine notes: - E(PATH) is ignored on the remote node when ...
4,808
Python
.py
127
33.456693
155
0.721937
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,197
pip.py
ansible_ansible/lib/ansible/modules/pip.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, Matt Wright <matt@nobien.net> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import annotations DOCUMENTATION = """ --- module: pip short_description: Manages Python library dependencies description: - ...
32,791
Python
.py
760
35.043421
142
0.641111
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,198
find.py
ansible_ansible/lib/ansible/modules/find.py
# -*- coding: utf-8 -*- # Copyright: (c) 2014, Ruggero Marchei <ruggero.marchei@daemonzone.net> # Copyright: (c) 2015, Brian Coca <bcoca@ansible.com> # Copyright: (c) 2016-2017, Konstantin Shalygin <k0ste@k0ste.ru> # Copyright: (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gn...
24,037
Python
.py
567
32.102293
155
0.580875
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,199
unarchive.py
ansible_ansible/lib/ansible/modules/unarchive.py
# -*- coding: utf-8 -*- # Copyright: (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # Copyright: (c) 2013, Dylan Martin <dmartin@seattlecentral.edu> # Copyright: (c) 2015, Toshio Kuratomi <tkuratomi@ansible.com> # Copyright: (c) 2016, Dag Wieers <dag@wieers.com> # Copyright: (c) 2017, Ansible Project # GNU Genera...
45,405
Python
.py
1,016
34.471457
159
0.58545
ansible/ansible
62,258
23,791
861
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)