On Thu, 2 Jan 2020 12:45:01 +0100
Vladimir Botka <
vbo...@gmail.com> wrote:
> On Thu, 2 Jan 2020 02:57:22 -0800 (PST)
> Vikrant Agarwal <
vikranta...@gmail.com> wrote:
>
> > I want to extract only specific information of the systems using Ansible
> > setup module , like ansible_memtotal_mb , ansible_machine
> > and ansible_distribution_version . How to do that in single ansible
> > command ?
> It's possible to 'loop' the 'filter' in the module 'setup'
>
https://docs.ansible.com/ansible/latest/modules/setup_module.html
>
FWIW. Smarter approach to avoid the burden of collecting the facts on each