AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 18.188.92.227
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 :  /proc/979/cwd/lib/python2.7/site-packages/ansible/plugins/callback/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /proc/979/cwd/lib/python2.7/site-packages/ansible/plugins/callback/oneline.pyc
�
��\c@`sbddlmZmZmZeZdZddlmZddl	m
Zdefd��YZdS(i(tabsolute_importtdivisiontprint_functions�
    callback: oneline
    type: stdout
    short_description: oneline Ansible screen output
    version_added: historical
    description:
        - This is the output callback used by the -o/--one-line command line option.
(tCallbackBase(t	constantstCallbackModulecB`sPeZdZdZdZdZd�Zed�Zd�Z	d�Z
d�ZRS(	s�
    This is the default callback interface, which simply prints messages
    to stdout when new callback events are received.
    g@tstdouttonelinecC`s�|jdd�jdd�jdd�}d|kr�|dr�|jdd�jdd�jdd�}d|||jd	d
�||fSd|||jd	d
�|fSdS(NRts
s\ns
s\rtstderrs)%s | %s | rc=%s | (stdout) %s (stderr) %strci����s%s | %s | rc=%s | (stdout) %s(tgettreplace(tselfthostnametresulttcaptionRR	((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/oneline.pyt_command_generic_msg!s
**#cC`s0d|jkr�|jjdkrN|jdj�jd�d}d|}nd|jdjdd�}|jjtj	kr�d|jkr�|jj
|j|jj
�|jd	�d
tj�q�|jj
|d
tj�n|jj
d|jj
�|j|jdd
�jdd�fd
tj�dS(Nt	exceptionis
i����scAn exception occurred during task execution. To see the full traceback, use -vvv. The error was: %ssDAn exception occurred during task execution. The full traceback is:
Rt
module_stderrtFAILEDtcolors%s | FAILED! => %stindenti(t_resultt_displayt	verbositytstriptsplitRt_tasktactiontCtMODULE_NO_JSONtdisplayRt_hosttget_nametCOLOR_ERRORt
_dump_results(R
Rt
ignore_errorsterrortmsg((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/oneline.pytv2_runner_on_failed)s 
$7@cC`s�|jjdt�r'tj}d}ntj}d}|jjtjkr|j	j
|j|jj
�|j|�d|�nJ|j	j
d|jj
�||j|jdd�jdd	�fd|�dS(
NtchangedtCHANGEDtSUCCESSRs
%s | %s => %sRis
R(RRtFalseRt
COLOR_CHANGEDtCOLOR_OKRRRRR RR!R"R$R(R
RRtstate((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/oneline.pytv2_runner_on_ok:s			4CcC`s?|jjd|jj�|jjdd�fdtj�dS(Ns%s | UNREACHABLE!: %sR'RR(RR R!R"RRRtCOLOR_UNREACHABLE(R
R((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/oneline.pytv2_runner_on_unreachableIscC`s*|jjd|jj�dtj�dS(Ns%s | SKIPPEDR(RR R!R"Rt
COLOR_SKIP(R
R((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/oneline.pytv2_runner_on_skippedLs(t__name__t
__module__t__doc__tCALLBACK_VERSIONt
CALLBACK_TYPEt
CALLBACK_NAMERR,R(R0R2R4(((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/oneline.pyRs			N(
t
__future__RRRttypet
__metaclass__t
DOCUMENTATIONtansible.plugins.callbackRtansibleRRR(((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/oneline.pyt<module>s
	

Anon7 - 2022
AnonSec Team