Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Don't call it "server manifest". It'll confuse people. You mean "inventory". You can dynamically populate "facts" and "inventory". See:

https://github.com/ansible-provisioning/ansible-provisioning

http://jpmens.net/2013/06/18/adapting-inventory-for-ansible/

Especially for ec2 there is many modules that allows you to do that too. You can easily specify an inventory file which you populates dynamically.

There is also a lot being done about this in v1.3.

HTH



Yeah check out the API chapter of the docs, there's information about all kinds of dynamic inventory scripts.

https://github.com/ansible/ansible/tree/devel/plugins/invent...


Excellent! Thanks for letting me know. I'll have to dive back in and check it out.


This is exactly the info I needed for some work I am doing. Thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: