Re: [ansible-project] Ansible output customize

2020-09-18 Thread Mike Eggleston
I was only concerned with unix and would use this ad-hoc command: $ ansible all -m command -a uptime -o > On Sep 18, 2020, at 13:21, madan gopal wrote: > > Hi Praveen, > > I am looking for a script to take user input and provide system uptime for > both Windows and Linux environments. > > Any

Re: [ansible-project] Ansible output customize

2020-03-06 Thread Jean-Yves LENHOF
Hi, Did you try a callback that satisfy you ? https://docs.ansible.com/ansible/latest/plugins/callback.html If not you should probably have to create yours... Ansible is not the most obvious tool to create some reports... What did you want to achieve ? If you want a proper report, perhaps use

Re: [ansible-project] Ansible output customize

2020-03-05 Thread Parveen Datt
Hi JYL, Here is what i mean. TASK [debug] *** ok: [192.168.56.50] => (item= 00:48:30 up 2 min, 1 user, load average: 0.05, 0.06, 0.03) => { "msg": " 00:48:30

Re: [ansible-project] Ansible output customize

2020-03-03 Thread Jean-Yves LENHOF
Hi, What is nicely formatted ? Please show on an example what you want Regards, JYL Le 03/03/2020 à 21:42, Parveen Datt a écrit : Hi Team I have written a playbook and using debug variable we are reading the output in multiple play. Is there any way we can customize the output of each regi

[ansible-project] Ansible output customize

2020-03-03 Thread Parveen Datt
Hi Team I have written a playbook and using debug variable we are reading the output in multiple play. Is there any way we can customize the output of each registered variable and print it nicely formatted . Any suggestion would be appreciated Thx -- You received this message because you ar