Hi all,

I have a couple of servers that are managed via ansible. On all of them, I 
have got a script - free.sh - that when run, outputs just the free memory, 
like - 5GB. This is not the free system RAM, but a value that's obtained by 
complex calculations done via the script. I can call the script via ansible 
in this manner:

ansible -bK -a "/usr/bin/free.sh" apache-servers

(where apache-servers is the host-group on which I want to run the script)

And here's the limitation that I'm facing - Ansible just returns results in 
the order the job completes. But, I want the result to be sorted according 
to the script's output. Is this possible?

-- 
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/2090253c-01a4-4db7-abe4-6275615ad826%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to