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/template/__pycache__/ |
Upload File : |
� ���c� � �L � d dl mZmZmZ eZd dlmZ dgZ G d� de� � Z dS )� )�absolute_import�division�print_function)�NativeTemplate�AnsibleJ2Templatec � � e Zd ZdZdd�ZdS )r a A helper class, which prevents Jinja2 from running AnsibleJ2Vars through dict(). Without this, {% include %} and similar will create new contexts unlike the special one created in Templar.template. This ensures they are all alike, except for potential locals. NFc �6 � |�t | j pd� � }t |t � � r,|� � � }|�|� |� � n|� |� � }| j � | j || j | j � � S )N� ) �dict�globals� isinstance�copy�update� add_locals�environment� context_class�name�blocks)�self�vars�shared�localss �>/usr/lib/python3.11/site-packages/ansible/template/template.py�new_contextzAnsibleJ2Template.new_context# s� � ��<����*��+�+�D��d�D�!�!� +��9�9�;�;�D��!����F�#�#�#���?�?�6�*�*�D���-�-�d�.>��d�i�QU�Q\�]�]�]� )NFN)�__name__� __module__�__qualname__�__doc__r r r r r r s8 � � � � � �� � ^� ^� ^� ^� ^� ^r N) � __future__r r r �type� __metaclass__�jinja2.nativetypesr �__all__r r r r �<module>r% s� ��&