%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3.9/site-packages/ansible/galaxy/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib/python3.9/site-packages/ansible/galaxy/__pycache__/__init__.cpython-39.pyc

a

�)g�	�@spdZddlmZmZmZeZddlZddlm	Z
ddlmZddl
mZddlmZdd�ZGd	d
�d
e�ZdS)z9 This manages remote shared Ansible objects, mainly roles�)�absolute_import�division�print_functionN)�context)�to_bytes)�	yaml_loadcCsVtj�tj�t�dd�}tt|dd�d��}t|�Wd�S1sH0YdS)N�datazcollections_galaxy_meta.ymlZsurrogate_or_strict)�errors�rb)�os�path�join�dirname�__file__�openrr)�	meta_pathZ
galaxy_obj�r�;/usr/lib/python3.9/site-packages/ansible/galaxy/__init__.py� get_collections_galaxy_meta_info%src@s4eZdZdZdd�Zedd��Zdd�Zdd	�Zd
S)�Galaxyz Keeps global galaxy info cCsntj�dtj�}||_i|_tj�	t
�\}}tj�dd�}|dkrXtj�|tj�d��}tj�|d|�|_dS)N�
roles_pathZ	role_type�default�typer)
rZCLIARGS�get�CZDEFAULT_ROLES_PATHZroles_paths�rolesrr�splitrr
�	DATA_PATH)�selfrZthis_dirZ
this_filenameZ	type_pathrrr�__init__.szGalaxy.__init__cCs|jS�N)r)rrrr�default_role_skeleton_path@sz!Galaxy.default_role_skeleton_pathcCs||j|j<dSr )r�name)rZrolerrr�add_roleDszGalaxy.add_rolecCs|j|=dSr )r)rZ	role_namerrr�remove_roleGszGalaxy.remove_roleN)	�__name__�
__module__�__qualname__�__doc__r�propertyr!r#r$rrrrr+s
r)r(Z
__future__rrrrZ
__metaclass__rZansible.constantsZ	constantsrZansiblerZansible.module_utils._textrZ ansible.module_utils.common.yamlrr�objectrrrrr�<module>s

Zerion Mini Shell 1.0