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 : |
� � �\c @` sR d d l m Z m Z m Z e Z d Z d d l m Z d e f d � � YZ d S( i ( t absolute_importt divisiont print_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 CallbackBaset CallbackModulec B` sJ e Z d Z d Z d Z d Z e Z d � Z d � Z d � Z d � Z RS( 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_democ O` s/ t t | � j | | � d | _ d | _ d S( N( t superR t __init__t Nonet taskt play( t selft argst kwargs( ( sI /usr/lib/python2.7/site-packages/ansible/plugins/callback/context_demo.pyR ! s c O` s� | j j d j t | j d d � | j � � | j j d � x4 t | � D]&