Do what Brian said.



On Sun, Jun 22, 2014 at 7:28 PM, Александр Лозовской <[email protected]>
wrote:

>
>
> воскресенье, 22 июня 2014 г., 20:18:58 UTC+4 пользователь Brian Coca
> написал:
>
>> status will be a list, so you have 4 stdout​s to look at:
>>
>> - debug: msg={{item.stdout}}
>>   with_items: status.results
>>
>
> In this case i got all message from  status.results and stdout after it.
>
> I solved this problem through this:
>
> debug: msg="{% for results in status.results %} {{results.cmd.7}} - {{
> results.stdout }} {% endfor %}"
>
> In this case, I get what I need, but all 4 stdout output in a single line.
> How do I put a linebreak after each row (Ansible escapes '\n').
>
> --
> 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/80c47918-e398-4ccc-8f45-a8ac09a59d71%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/80c47918-e398-4ccc-8f45-a8ac09a59d71%40googlegroups.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/CA%2BnsWgxVaTeR%3D52EikWNijL9a3_Fex%3DL4x7xnnL0ap3m9RRrTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to