[ansible-project] Re: ansible galaxy question

2015-12-05 Thread Joanna Delaporte
Hi Serge, Sorry, tab works differently in chrome than vim. Maybe I can find a plugin to fix my browser. :). I was going to write this small example of a list of dependencies that could be listed in your meta/main.yml file: #cloudera-hadoop/meta/main.yml dependencies: - serge.common

[ansible-project] Re: ansible galaxy question

2015-12-05 Thread Joanna Delaporte
I believe Galaxy roles can have role dependencies stated in meta/main.yml, just like any other Ansible role on your system. So, individual roles could be written, and then encapsulated into a more elaborate role. For example, in the role you have provided a link, you could separate out hue and o

[ansible-project] Re: Reusing a set of taks across many roles

2015-12-05 Thread Joanna Delaporte
You can include role dependencies in the *meta/main.yml* for a role. These are roles that will also be installed by the role, prior to the role installing itself. So, for common things you need on all machines, you can have a 'common' role. Then, in the meta/main.yml for more specific roles, y