Ansible read excel sheet to build inventory

234 views
Skip to first unread message

Abhishek Agawane

unread,
May 11, 2021, 3:16:23 PM5/11/21
to ansible...@googlegroups.com
Hi All,

Is there any way that i can import a list of hosts from an excel spreadsheet into ansible inventory so i can connect to each host via ansible and perform operations?

Brian Coca

unread,
May 12, 2021, 11:48:50 AM5/12/21
to Ansible Project
yes, an inventory plugin or inventory script can do this, there are
several examples of this in 'the wild', but none are shipped as part
of Ansible.


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

The Vandyy Vines

unread,
May 12, 2021, 1:41:33 PM5/12/21
to : Ansible Project
Read_csv is a module to read the csv

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7cq2WryapkhJxPVrcsZSC4v_iwOcj9WxhPs8TeEzEiPJw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages