No its all commented

[root@hackerdev 6.2]# grep callback /etc/ansible/ansible.cfg 
# change the default callback
#stdout_callback = skippy
# enable additional callbacks
#callback_whitelist = timer, mail
#callback_plugins   = /usr/share/ansible/plugins/callback
# by default callbacks are not loaded for /bin/ansible, enable this if you
# want, for example, a notification or logging callback to also apply to
#bin_ansible_callbacks = False
[root@hackerdev 6.2]# grep stdout /etc/ansible/ansible.cfg 
#stdout_callback = skippy
# stdout from ansible-playbook (or you have manually specified no_log in 
your
#display_args_to_stdout = False
[root@hackerdev 6.2]# 


On Friday, August 18, 2017 at 1:26:39 AM UTC+5:30, Mike Klebolt wrote:
>
> What do you have in your ansible.cfg for stdout_callback?
>
> On Thursday, August 17, 2017 at 9:13:25 AM UTC-5, Sameer Modak wrote:
>>
>> Hello Team,
>> When i run following command i get log of output on screen. I just want 
>> if it success or failed.
>>
>> ansible web -m yum -a "name=MySQL-python state=present".
>>
>> 192.168.211.129 | SUCCESS => {
>>     "changed": true, 
>>     "msg": "", 
>>     "rc": 0, 
>>     "results": [
>>         "Loaded plugins: fastestmirror\nLoading mirror speeds from cached 
>> hostfile\nResolving Dependencies\n--> Running transaction check\n---> 
>> Package MySQL-python.x86_64 0:1.2.3-11.el7 will be installed\n--> Finished 
>> Dependency Resolution\n\nDependencies 
>> Resolved\n\n================================================================================\n
>>  
>> Package              Arch           Version                Repository     
>> Size\n================================================================================\nInstalling:\n
>>  
>> MySQL-python         x86_64         1.2.3-11.el7           basic         
>>  82 k\n\nTransaction 
>> Summary\n================================================================================\nInstall
>>  
>>  1 Package\n\nTotal download size: 82 k\nInstalled size: 231 k\nDownloading 
>> packages:\nRunning transaction check\nRunning transaction test\nTransaction 
>> test succeeded\nRunning transaction\n  Installing : 
>> MySQL-python-1.2.3-11.el7.x86_64                             1/1 \n 
>>  Verifying  : MySQL-python-1.2.3-11.el7.x86_64                             
>> 1/1 \n\nInstalled:\n  MySQL-python.x86_64 0:1.2.3-11.el7                   
>>                          \n\nComplete!\n"
>>     ]
>> }
>> 192.168.211.130 | SUCCESS => {
>>     "changed": true, 
>>     "msg": "", 
>>     "rc": 0, 
>>     "results": [
>>         "Loaded plugins: fastestmirror\nLoading mirror speeds from cached 
>> hostfile\nResolving Dependencies\n--> Running transaction check\n---> 
>> Package MySQL-python.x86_64 0:1.2.3-11.el7 will be installed\n--> Finished 
>> Dependency Resolution\n\nDependencies 
>> Resolved\n\n================================================================================\n
>>  
>> Package              Arch           Version                Repository     
>> Size\n================================================================================\nInstalling:\n
>>  
>> MySQL-python         x86_64         1.2.3-11.el7           basic         
>>  82 k\n\nTransaction 
>> Summary\n================================================================================\nInstall
>>  
>>  1 Package\n\nTotal download size: 82 k\nInstalled size: 231 k\nDownloading 
>> packages:\nRunning transaction check\nRunning transaction test\nTransaction 
>> test succeeded\nRunning transaction\n  Installing : 
>> MySQL-python-1.2.3-11.el7.x86_64                             1/1 \n 
>>  Verifying  : MySQL-python-1.2.3-11.el7.x86_64                             
>> 1/1 \n\nInstalled:\n  MySQL-python.x86_64 0:1.2.3-11.el7                   
>>                          \n\nComplete!\n"
>>     ]
>> }
>> [root@hackerdev ansible]# ansible web -m yum -a "name=MySQL-pytho
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/089cc878-9ecc-4487-be52-e32a549fd47e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to