On 26. okt. 2017 19:39, [email protected] wrote:
> Update:-
> 
> I can see the output with verbose option but format is messed up.
> 
> Any pointers? Also, is -v verbose option always needed explicitly?


Ansible don't print out result of a task, as its a configuration management 
tool and not a reporting tool.

To get the result from a task you need to register[1] the output in a variable.
When it's in a variable you have endless opportunity to do things with the 
result.

To print it out you have the debug module

[1] 
https://docs.ansible.com/ansible/latest/playbooks_variables.html#registered-variables


-- 
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/fcbbf1ae-9624-b88c-a858-3dd794a4f128%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to