Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV import feature to manage inventory and host_vars easily #236

Open
eldho-varghese opened this issue Sep 5, 2021 · 1 comment
Open
Labels
enhancement needs feedback Requires more feedback from the reporter

Comments

@eldho-varghese
Copy link

Hi @fboender

Would you able to add a feature to import a CSV file which can create hosts and host_vars in json format and that can be used create additional columns based on CSV fields

At present my team is contributing to a large csv file which has some static information like, Application Owner, Sysadmin, Environment, System description etc. An I'm then using [(https://github.com/jeremyschulman/ansible-csv2hosts)] generate host_vars and hosts in json format and feeding that info ansible-cmdb.

Thanks
Eldho Varghese

@fboender
Copy link
Owner

fboender commented Sep 5, 2021

Hey Eldho!

Does your current solution (ansible-csv2hosts) not already do this? Importing CSV to create host/host_vars is outside the scope of ansible-cmdb I'm afraid.

@fboender fboender added enhancement needs feedback Requires more feedback from the reporter labels Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement needs feedback Requires more feedback from the reporter
Projects
None yet
Development

No branches or pull requests

2 participants