[Fab-user] Create Dynamic env.hosts at runtime

2012-05-04 Thread JA
Hi Everyone; I am really just looking for creative ideas here and was hoping that some of you who have more experience with Fabric might be able to make some suggestions. For certain tasks and jobs, I may have a large number of servers that I need to interact with. Attempting to store all of

Re: [Fab-user] Create Dynamic env.hosts at runtime

2012-05-04 Thread Morgan Goose
You can use roles or hosts with callables as long as they return lists. Being that Fabric is just python, you have all the tools and libraries that python provides for populating this list. Some people query databases, some use flat files with host lists, others use things like cuisine to work off