관리-도구
편집 파일: reserved.cpython-39.pyc
a �����)g7 ����������������������@���s����d�dl�mZmZmZ�eZd�dlmZ�d�dlm Z �d�dl mZ�d�dlm Z �d�dlmZ�e��Zddd �Zddd�Zd d��Zee���Zd S�)�����)�absolute_import�division�print_function)�Play)�Block)�Role)�Task)�DisplayTc�����������������C���s����t���}t���}t���}ttttg}|D�]4}|j���D�]$\}}|jrJ|�|��q0|�|��q0q"d|v�rj|�d��d|v�szd|v�r�|�d��|�r�|� |�}n|}|S�)zN this function returns the list of reserved names associated with play objects�actionZlocal_actionZloopZwith_) �setr���r���r���r���Zfattributes�items�private�add�union)Zinclude_privateZpublicr ����resultZ class_listZaclass�name�attr��r����9/usr/lib/python3.9/site-packages/ansible/vars/reserved.py�get_reserved_names���s"���� r���Nc�����������������C���sL���|du�rt�}n t��|�}t|��}|�d��|�|�D�]}t�d|���q4dS�)zU this function warns if any variable passed conflicts with internally reserved names N�varsz&Found variable using reserved name: %s)�_RESERVED_NAMESr���r����discard�intersection�displayZwarning)Zmyvars� additionalZreservedZvarnamesZvarnamer���r���r����warn_if_reservedB���s���� r���c�����������������C���s���|�t�v�S�)N)r���)r���r���r���r����is_reserved_nameP���s����r���)T)N)Z __future__r���r���r����typeZ __metaclass__Zansible.playbookr���Zansible.playbook.blockr���Zansible.playbook.roler���Zansible.playbook.taskr���Zansible.utils.displayr ���r���r���r���r���� frozensetr���r���r���r���r����<module>���s��� #