just set the following environment variable, no need for the human_log.py callback plugin;
export ANSIBLE_STDOUT_CALLBACK=debug works fine for me; ansible 2.4.0.0 Hope this helps On Monday, December 4, 2017 at 10:08:55 PM UTC+11, SUMIT SAHAY wrote: > > Hi Rajeev, > > I have query regarding Callback plugin, could you tell me how to setup > this and how to run this, if you provide the steps it would be much > appreciated. > > > Looking forward for your reply... > > Thanks & Regards > Sumit Sahay > > > On Sunday, 5 March 2017 10:51:27 UTC+5:30, rajeev wrote: >> >> Sorry for the link not working.. here is the original post which I tried >> to use: >> >> http://blog.cliffano.com/2014/04/06/human-readable-ansible-playbook-log-output-using-callback-plugin/ >> (it has the two link for 2.x) >> >> On Sunday, March 5, 2017 at 12:18:24 AM UTC-5, rajeev wrote: >>> >>> Thank Dick for your inputs. >>> >>> I had no trouble with basic functionality of the tool so far. The only >>> thing is the format of the output. >>> >>> Seems you have been working with ansible for sometime, could you please >>> share what are you doing to format the output? >>> Is there a better way to handle that in lower version of ansible? >>> >>> Thanks again >>> Rajeev >>> >>> On Saturday, March 4, 2017 at 5:52:09 AM UTC-5, Dick Visser wrote: >>>> >>>> On 3 March 2017 at 22:18, rajeev <[email protected]> wrote: >>>> > Hello All, >>>> > >>>> > >>>> > I am in need of your urgent help. >>>> > I am new to ansible. I have installed the latest version of ansible >>>> (2.3.0). >>>> > >>>> > I need to run the tool across my entire UNIX environment with 10000+ >>>> hosts. >>>> > >>>> > >>>> > The problem is with the output which is not in a human readable >>>> format. I >>>> > have created a basic playbook to get some status and have tried both >>>> > callback version of the human_log.py listed by Cliff, did not help. >>>> > >>>> > "For Ansible 2.x, please check out https://gist.github.com/dms... >>>> and/or >>>> > https://github.com/n0ts/ans..." >>>> > >>>> > >>>> > >>>> > Please assist/advise at your earliest, what can I do to make the >>>> output more >>>> > readable. >>>> >>>> >>>> You are running an unreleased version of a tool you don't have >>>> experience with on 10000+ hosts? Em... OK. >>>> First try picking a released version and see what that does. >>>> As for the rest, none of the URLs you posted actually work. >>>> So we're left with Googling for some terms. >>>> Apparently (still guessing here) you mean this plugin: >>>> >>>> http://blog.cliffano.com/2014/04/06/human-readable-ansible-playbook-log-output-using-callback-plugin/ >>>> >>>> You already asked the author of the plugin, and seem to have verbatim >>>> pasted the (HTML) answer here - including the obfuscated URLs. >>>> One leads to a fork (https://github.com/n0ts/ansible-human_log), the >>>> other one to a gist >>>> (https://gist.github.com/dmsimard/cd706de198c85a8255f6). >>>> Since these are specific plugins and not part of Ansible, I think your >>>> best bet is to ask the authors (again) for advice. >>>> I can already see some hints that they work with older versions. >>>> That might or might not be usable in your situation - hard to tell >>>> with the current amount of information. >>>> >>>> >>>> >>>> Dick >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Dick Visser >>>> Sr. System & Network Engineer >>>> GÉANT >>>> >>>> Want to join us? We're hiring: https://www.geant.org/jobs >>>> >>> -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/50175894-c2e4-4328-84c2-f3bce219907b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
