How would you store roles with your inventory? Isn't the inventory file just a grouping of hosts?
-Jeff On Monday, August 31, 2015 at 11:27:16 AM UTC-4, Javier Palacios wrote: > > > On Fri, Aug 28, 2015 at 10:01 PM, Jeffrey Lee <[email protected] > <javascript:>> wrote: > >> I'm looking for a way to manage different versions of Ansible roles that >> I am writing when deploying applications. For instance if one application >> needs v1 of an Ansible role I wrote and another application needs v2 of an >> Ansible role, is there a tool like puppet librarian or R10K that I can use >> with Ansible that will assemble the entire Ansible package for me with the >> correct versions of the roles? >> > > In case you didn't know roles are looked up wherever inventory lives _and_ > wherever the playbook lives (this one rules). So you can keep your standard > roles along the inventory and the higher version ones along the playbooks > where they are used. It might not suit your needs, and it will potentially > end in as many directories as playbooks you have, but might help. > > Javier Palacios > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3ab83cd2-259f-4a04-bced-43c048fc58a2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
