HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //lib/python3.9/site-packages/ansible/playbook/__pycache__/handler.cpython-39.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