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/playbook/role/__pycache__/ |
Upload File : |
� ���c�m � �: � d dl mZmZmZ eZd dlZd dlmZm Z m Z mZ d dlm Z d dlmZmZmZ d dlmZ d dlmZmZ d dlmZ d d lmZ d d lmZ d dlmZ d dl m!Z! d d l"m#Z# d dl$m%Z% d dl&m'Z' d dl(m)Z) d dl*m+Z+ d dl,m-Z- d dl.m/Z/ ddgZ0d� Z1 G d� deee%e� � Z2dS )� )�absolute_import�division�print_functionN)� Container�Mapping�Set�Sequence)� constants)�AnsibleError�AnsibleParserError�AnsibleAssertionError)�to_text)�binary_type� text_type)�FieldAttribute)�Base)�CollectionSearch)�Conditional)�load_list_of_blocks)�RoleMetadata)�Taggable)�add_all_plugin_dirs)�AnsibleCollectionConfig)� is_subpath)�Sentinel)�combine_vars�Role�hash_paramsc �� � t | t � � �rRt | t t f� � �s5t | t � � r� t | � � � � � }n�# t $ r^ t � � }| � � � D ])\ }}|� |t |� � f� � �*t |� � }Y n�w xY wt | t t f� � re t | � � }nc# t $ rG t � � }| D ]$}|� t |� � � � �%t |� � }Y nw xY wt | � � }|S t | f� � S )a� Construct a data structure of parameters that is hashable. This requires changing any mutable data structures into immutable ones. We chose a frozenset because role parameters have to be unique. .. warning:: this does not handle unhashable scalars. Two things mitigate that limitation: 1) There shouldn't be any unhashable scalars specified in the yaml 2) Our only choice would be to return an error anyway. ) � isinstancer r r r � frozenset�items� TypeError�set�addr r r )�params� new_params�k�vs �C/usr/lib/python3.11/site-packages/ansible/playbook/role/__init__.pyr r 3 s| � � �&�)�$�$� �Z���K�@X�-Y�-Y� ��f�g�&�&� +� 3�&�v�|�|�~�~�6�6� � ��� 3� 3� 3� �U�U� �"�L�L�N�N� 8� 8�D�A�q��N�N�A�{�1�~�~�#6�7�7�7�7�&�z�2�2� � � � 3���� ���h�� 0� 0� +� 3�&�v�.�.� � ��� 3� 3� 3� �U�U� �� 3� 3�A��N�N�;�q�>�>�2�2�2�2�&�z�2�2� � � � 3���� #�6�*�*�J��� �f�Y���s&