with fistvar you use that list of lines, so secondvar is the registered output of a loop, which means you have "several sets of results"
change debug: var=secondvar.stdout_lines to debug: var=secondvar.results.stdout_lines HTH, Serge On 24 April 2014 20:03, Michael Baydoun <[email protected]> wrote: > Small playbook that reproduces behavior > https://gist.github.com/IndyMichaelB/11263577 > First comment shows the output > > -- > 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/CADgbg8JJ0nSut%3DEFiexZWrWC3LvSWY8nWL1HJPKuCerA9GK2_A%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CADgbg8JJ0nSut%3DEFiexZWrWC3LvSWY8nWL1HJPKuCerA9GK2_A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > 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/CAEhzMJDVWTBbTPXGHovu-ZAYz5aAs6geONzu_jfaDpCMDfDYWw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
