관리-도구
편집 파일: template.cpython-39.pyc
a �����)g�����������������������@���s>���d�dl�mZmZmZ�eZd�dlmZ�dgZG�dd��de�Z dS�)�����)�absolute_import�division�print_function)�NativeTemplate�AnsibleJ2Templatec�������������������@���s���e�Zd�ZdZddd�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�����������������C���s^���|d�u�rt�|�jpd�}t|t��r<|���}|d�urF|�|��n |�|�}|�j�|�j||�j|�j �S�)N��) �dict�globals� isinstance�copy�updateZ add_localsZenvironmentZ context_class�nameZblocks)�self�varsZshared�localsr���r����=/usr/lib/python3.9/site-packages/ansible/template/template.py�new_context#���s���� zAnsibleJ2Template.new_context)NFN)�__name__� __module__�__qualname__�__doc__r���r���r���r���r���r������s���N) Z __future__r���r���r����typeZ __metaclass__Zjinja2.nativetypesr����__all__r���r���r���r���r����<module>���s���