linkedin
  • Become a Seller

Looking at ansible to replace a large number of ad-hoc scripts created by a predecessor - can I keep complex information about each node in the ansible inventory?

Paridhi Hemnani . Jun 26, 2023

A:

You need to have one file per host or a VM in the host_vars containing all the information for provisioning. This information is here to allow ansible to configure the host or VM. Inventory is easy and only groups. All you need to do is use ansible and ansible_facts to collect information and keep it in a database or file.

Jun 26, 2023

Was this helpful? upvote icon 0 downvote icon 0
img

Did not find the question you are looking for?

Get fast answers from real users and our software experts

menlaptop

Have a Question in Mind?

Get answers directly from verified users and our software experts

Software icon representing 20,000+ Software Listed 20,000+ Software Listed

Price tag icon for best price guarantee Best Price Guaranteed

Expert consultation icon Free Expert Consultation

Happy customer icon representing 2 million+ customers 2M+ Happy Customers