can ansible gather info on network different devices?

27 views
Skip to first unread message

איתי מלכה

unread,
Sep 17, 2017, 5:31:10 AM9/17/17
to Ansible Project
Hi all,
I'm new with ansible,
I need a tool for my LAB at work and wondering if ansible is the one.
can I gather information on all devices in the same network with ansible? the devices are may vary by types OS, and even bare metal devices. 
the info that I need is:
OS type
CPU (id number, frequency,cores etc...)
RAM (type,frequency,how many cards, capacity of each card)
and more of that kind....

the different devices on the network may by with different kind of OS, or pre installed OS.


thanks,
Itay.

Ganesh Nalawade

unread,
Sep 19, 2017, 8:10:24 AM9/19/17
to ansible...@googlegroups.com

for the list of available network modules.

Use *_facts modules based on platform (eg: ios_facts, junos_facts) which will fetch device information that you are looking for. 

Regards,
Ganesh

--
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+unsubscribe@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/37189707-853e-4569-81b8-d2c5b46585e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages