On Fri, Aug 28, 2015 at 10:01 PM, Jeffrey Lee <[email protected]> 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/CANsNpUR_E-uZ40%3DyXa368%2B0Up3JckhBCag568nCmJn2dojXnkg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
