On Saturday, 18 August 2018 15.00.50 CEST nbctcp wrote: > or I want ansible to read this file > dest: "./output/{{ inventory_hostname }}.txt" > and display on screen, without json format, just plain text
Short answer, you can't. Longer answer, the output is handeled by a callback plugin. The standard one is called default, you have some otheres here you can try https://docs.ansible.com/ansible/2.6/plugins/callback.html but to get the output you will, you probably need to write your own. -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3068047.kxkAGmPAed%40x1. For more options, visit https://groups.google.com/d/optout.