Thanks .
I am able to print  20  lines  in stdout .. 
Sorry it is a miss from my side and I learned a debug option today . 



On Tuesday, May 28, 2019 at 2:59:46 AM UTC+5:30, Kai Stian Olstad wrote:
>
> On 27.05.2019 22:28, Veera wrote: 
> > For  any  standard "var.stdout"  only  8 lines are printing .  Any way 
> > to 
> > increase the  std.output  lines  above  8 lines 
>
> Can't confirm this behavior with Ansible 2.8.0 
>
> test.yml 
> --- 
> - hosts: localhost 
>    gather_facts: no 
>    become: no 
>    tasks: 
>      - shell: for i in `seq 1 10`; do echo $i; done 
>        register: result 
>      - debug: var=result.stdout_lines 
>
> $ ansible-playbook test.yml 
>
> PLAY [localhost] ******************** 
>
> TASK [shell] ************************ 
> changed: [localhost] 
>
> TASK [debug] ************************ 
> ok: [localhost] => { 
>      "result.stdout_lines": [ 
>          "1", 
>          "2", 
>          "3", 
>          "4", 
>          "5", 
>          "6", 
>          "7", 
>          "8", 
>          "9", 
>          "10" 
>      ] 
> } 
>
>
> -- 
> Kai Stian Olstad 
>

-- 
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/810926dc-9af7-476b-bb8e-5d85c30cf2b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to