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/1a7a158b963ecbf52f79f2e954c53e53%40olstad.com.
For more options, visit https://groups.google.com/d/optout.