[ansible-project] Re: register variables and use these as role name

2014-10-17 Thread Denis J. Cirulis
Thank you all for suggestions, I've played a bit with Michaels playbook and considered it legit. Tried to simulate all possible bad configurations and deceided to go with more explicit playbooks. четверг, 16 октября 2014 г., 19:54:28 UTC+3 пользователь Michael Hoglan написал: > > I had a kin

[ansible-project] Re: register variables and use these as role name

2014-10-16 Thread Michael Hoglan
I had a kind of similar thing I did yesterday, I wanted the ability to use a variable in the role parameters, all the examples online always show static values being based to the role, and show roles being done in one line syntax. You can specify a role in a longer (not one line) form that allo

[ansible-project] Re: register variables and use these as role name

2014-10-16 Thread James Martin
Why create a role that is specific to the environment? And why make it variable? Seems like you'd just use the same role, but give each host group different group inventory variables to override the role defaults. On Wednesday, October 15, 2014 2:14:58 AM UTC-4, Denis J. Cirulis wrote: > > He

[ansible-project] Re: register variables and use these as role name

2014-10-15 Thread Seth Edwards
I wouldn't do this. You're playbooks should be very explicit. Are you just trying to reduce the number of playbooks you have in your directory? On Tuesday, October 14, 2014 11:14:58 PM UTC-7, Denis J. Cirulis wrote: > > Hello, > > let's suppose I have multiple groups of virtual guests, all are