�
�Udac @` sb d d l m Z m Z m Z e Z d Z d d l m Z d d l m
Z d e f d � � YZ d S( i ( t absolute_importt divisiont print_functions�
callback: minimal
type: stdout
short_description: minimal Ansible screen output
version_added: historical
description:
- This is the default output callback used by the ansible command (ad-hoc)
( t CallbackBase( t constantst CallbackModulec B` sY e Z d Z d Z d Z d Z d � Z e d � Z d � Z d � Z
d � Z d � Z RS(
s�
This is the default callback interface, which simply prints messages
to stdout when new callback events are received.
g @t stdoutt minimalc C` si d | | | j d d � f } | | j d d � 7} | | j d d � 7} | | j d d � 7} | d S( s$ output the result of a command run s %s | %s | rc=%s >>
t rci����R t t stderrt msgs
( t get( t selft hostt resultt captiont buf( ( sD /usr/lib/python2.7/site-packages/ansible/plugins/callback/minimal.pyt _command_generic_msg! s
c C` s� | j | j � | j | j � | j j t j k r{ d | j k r{ | j j | j | j
j � | j d � d t j �n>