This is pretty easy to get from an API script hitting Tower, for those that are inclined too :)
On Wed, May 21, 2014 at 2:25 PM, John Jarvis <[email protected]> wrote: > It's a little bit more than just a plugin since we are controlling the > Ansible run's output. > What the plugin does is direct the Ansible status updates to a queue > (SQS in AWS) and a python script pulls the messages from the queue to > report the run status in the Jenkins console output. > The python script that polls sqs retrieves the task details and task > timing information so it keeps track of it and prints out a summary at > the end. > > This is the plugin that sends messages to sqs - > > https://github.com/edx/configuration/blob/master/playbooks/callback_plugins/sqs.py > poll_sqs_ansible() in this python script is what grabs the messages > from sqs - > https://github.com/edx/configuration/blob/master/util/vpc-tools/abbey.py#L363 > > Unfortunately sqs is not guaranteed FIFO so there is sliding window > for messages which results in a delay for seeing the status updates. > We are probably going to move away from SQS and switch to writing a > callback plugin that sends messages to hipchat. > > -John > > > On Wed, May 21, 2014 at 2:10 PM, Dick Davies <[email protected]> > wrote: > > Good read John, thanks for sharing! > > > > I particularly liked the profiling at the end of the play > > (N longest running tasks) - is that a straight Ansible plugin, > > or is there more to it than that? > > > > > > On 21 May 2014 18:47, John Jarvis <[email protected]> wrote: > >> Had a fantastic time at Ansiblefest NYC, kudos to the Ansible team! > >> A few people asked me for edX slides during happy hour, here they are > >> - http://goo.gl/U3xNyL > >> > >> -- > >> 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/CADPH6PLcf4VAK7095vvdEQm0Ad86E8PZ1MtUvZ_JPUjH_BTOkQ%40mail.gmail.com > . > >> For more options, visit https://groups.google.com/d/optout. > > > > -- > > 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/CAK5eLPTH1duX0Vedw%2BFk0q_DLvM3b8VA%2BcPJHhxUpqtAS-sYqg%40mail.gmail.com > . > > For more options, visit https://groups.google.com/d/optout. > > -- > 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/CADPH6P%2BrYaBJzMZrG1Vw8KWPOzUYQZXu4vgUmRZx%3Dbx2_jc1ig%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnsWgxzBq_L0XtYgR6f_rY_dKFtvRs05naaMWFoqZcnKs6sAg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
