Need to find out System hardware details for windows machine

17 views
Skip to first unread message

nandha kumar

unread,
Jun 15, 2019, 3:06:31 PM6/15/19
to Ansible Project
Hi Team,

Can anyone please tell me,how to find out the system hardware details like CPU,Memory and all for windows machine via ansible

Thanks,
Nandhakumar

Brian Coca

unread,
Jun 17, 2019, 11:30:40 AM6/17/19
to Ansible Project
fact gathering should get you all that information, inspect
`ansible_facts` variable.


--
----------
Brian Coca

nandha kumar

unread,
Jun 17, 2019, 1:59:22 PM6/17/19
to ansible...@googlegroups.com
Thanks Brian..how do we extract the details from the output?

Is there any other way apart from gathering fact Brian?

--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7d1Tkb3SD3GZxw%3DOZdnzY_GqaRCq4Ur%2Bfj5Yq7L79P4Qg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Brian Coca

unread,
Jun 17, 2019, 2:39:55 PM6/17/19
to Ansible Project
On Mon, Jun 17, 2019 at 2:01 PM nandha kumar <nandhu...@gmail.com> wrote:
>
> Thanks Brian..how do we extract the details from the output?
not sure what you mean, you just access the details.
>
> Is there any other way apart from gathering fact Brian?
You can write your own module to do the same?

--
----------
Brian Coca
Reply all
Reply to author
Forward
0 new messages