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/collections/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

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

���c'���ddlmZmZmZeZddlZddlmZddl	m
Z
ddlmZddl
mZddlmZddlmZdd	lmZe��Zdd�Zdd�Zdd
�ZdS)�)�absolute_import�division�print_functionN)�defaultdict)�AnsibleError)�is_collection_path)�to_bytes)�AnsibleCollectionConfig)�_get_collection_name_from_path)�DisplayFc��i}t||���D];}tj�|��rt	|��}||vs|s|||<�<|S)N)�search_paths�coll_filter)�list_collection_dirs�os�path�existsr)rr�dedupe�collections�	candidate�
collections      �=/usr/lib/python3.11/site-packages/ansible/collections/list.py�list_collectionsrsh���K�)�|�Q\�]�]�]�4�4�	�
�7�>�>�)�$�$�	4�7�	�B�B�J���,�,�F�,�*3��J�'����c#�K�|�g}|�tj��|D]�}t|��}tj�|��s0|r-t�d�	|�����`tj�
|��s0|r-t�d�	|������|V���dS)z�
    Filter out non existing or invalid search_paths for collections
    :param search_paths: list of text-string paths, if none load default config
    :param warn: display warning if search_path does not exist
    :return: subset of original list
    Nz2The configured collection path {0} does not exist.zFThe configured collection path {0}, exists, but it is not a directory.)�extendr
�collection_pathsr	rrr�display�warning�format�isdir)r�warnr�b_paths    r�list_valid_collection_pathsr$ s������������/�@�A�A�A������$�����w�~�~�f�%�%�	��
c���� T� [� [�\`� a� a�b�b�b���w�}�}�V�$�$�	��
w���� h� o� o�pt� u� u�v�v�v���
�
�
�
��rc#��K�d}d}|�@d|vr:	|�d��\}}n"#t$rtd|z���wxYw|}tt��}t|��D�]w}tj�|��dkr tj�	|d��}t|d���}tj�|���rtj�|��r�|�t
j
|��}n|g}|D]�}tj�	|t|����}	tj�|	��rv|�t
j
|	��}
n|g}
|
D]Y}|||vrMt|��}tj�	|	|��}
t|
��r|
|||<|
V��Z��ydS)aO
    Return paths for the specific collections found in passed or configured search paths
    :param search_paths: list of text-string paths, if none load default config
    :param coll_filter: limit collections to just the specific namespace or collection, if None all are returned
    :return: list of collection directory paths
    N�.z'Invalid collection pattern supplied: %s�ansible_collections�surrogate_or_strict)�errors)�split�
ValueErrorrr�dictr$rr�basename�joinr	rr!�listdirr)rrr�	namespacerr�b_coll_root�
namespaces�ns�b_namespace_dir�colls�mycoll�b_coll�
b_coll_dirs              rrr>s�����J��I����+���
\�*5�*;�*;�C�*@�*@�'��J�J���
\�
\�
\�"�#L�{�#Z�[�[�[�
\����$�I��d�#�#�K�+�L�9�9� 1� 1��
�7���D�!�!�%:�:�:��7�<�<��&;�<�<�D��t�,A�B�B�B��
�7�>�>�+�&�&�	1�2�7�=�=��+E�+E�	1�� ��Z��4�4�
�
�'�[�
� �
1�
1��"$�'�,�,�{�H�R�L�L�"I�"I���7�=�=��1�1�1�!�)� "�
�?� ;� ;���!+���"'�1�1��"��R��8�8�%-�f�%5�%5�F�)+����o�v�)N�)N�J�1�*�=�=�1�:D��B��� 7�&0� 0� 0� 0����A 1� 1s	�'�A)NNF)NF)NN)�
__future__rrr�type�
__metaclass__rrr�ansible.errorsr�ansible.collectionsr�ansible.module_utils._textr	�ansible.utils.collection_loaderr
�2ansible.utils.collection_loader._collection_finderr�ansible.utils.displayrrrr$r�rr�<module>rCs��C�B�B�B�B�B�B�B�B�B��
�	�	�	�	�#�#�#�#�#�#�'�'�'�'�'�'�2�2�2�2�2�2�/�/�/�/�/�/�C�C�C�C�C�C�]�]�]�]�]�]�)�)�)�)�)�)�
�'�)�)����������<41�41�41�41�41�41r

Youez - 2016 - github.com/yon3zu
LinuXploit