|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /lib/python3.9/site-packages/ansible/template/__pycache__/ |
a
�)g| � @ sf d dl mZmZmZ eZd dlmZ d dlm Z d dl
mZmZ d dl
mZ dgZG dd� de�ZdS ) � )�absolute_import�division�print_function)�Mapping)�missing)�AnsibleError�AnsibleUndefinedVariable)� to_native�
AnsibleJ2Varsc @ sB e Zd ZdZddd�Zdd� Zdd� Zd d
� Zdd� Zd
d� Z dS )r
a�
Helper class to template all variable content before jinja2 sees it. This is
done by hijacking the variable storage that jinja2 uses, and overriding __contains__
and __getitem__ to look like a dict. Added bonus is avoiding duplicating the large
hashes that inject tends to be.
To facilitate using builtin jinja2 things like range, globals are also handled here.
Nc C sr || _ || _t� | _t|t�rn|�� D ]F\}}|tur&|dd� dkrZ|| j|dd� <