Can Role Dependencies be overridden?

19 views
Skip to first unread message

junkmailt...@gmail.com

unread,
Jan 14, 2015, 3:36:59 PM1/14/15
to ansible...@googlegroups.com
Let's say I install a role from Ansible Galaxy:

$ ansible-galaxy install SomeUser.role1

Now this role is great and does exactly what I want except it has a role dependency on 'SomeUser.role2 which I don't need or want because I'm doing the equivalent of what it does in a different way. So what I'd like someway to tell 'SomeUser.role1' that 'MyRole1' satisfies the requirements for 'SomeUser.role2' and should be run in it's place.

Obviously I could edit the meta file for 'SomeUser.role1' but is there a better way?
Reply all
Reply to author
Forward
0 new messages