Re: [ansible-project] Ansible and complex hierarchy

2014-06-11 Thread andreub
Yes! it worked for the tasks, thanks The only thing were the handlers, they were triggered just once. So I added (at the end of the meta-task) - meta: flush_handlers And then they were ran twice but both with the parameters of the first role Finally I had to add parametrize the handlers as ex

Re: [ansible-project] Ansible and complex hierarchy

2014-06-11 Thread andreub
Yes! it worked for the tasks, thanks The only thing were the handlers, they were trigger just once. Then I added (at the end of the meta-task) - meta: flush_handlers And then they were ran twice but both with the parameters of the first role Finally I had to add parametrize the handlers as ex

Re: [ansible-project] Ansible and complex hierarchy

2014-06-11 Thread Serge van Ginderachter
On 11 June 2014 18:02, andreub wrote: > allow_duplicates: yes ​Not sure, but I'd think you need to add this to ​role/otherrole/meta/main.yml also? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop rec

[ansible-project] Ansible and complex hierarchy

2014-06-11 Thread andreub
Hello, I'm facing a problem and I'm not sure if it's a bug or a feature :) I have a role that includes other role (using meta dependency), when including that role more than once in my playbook, it runs only once: role/mymetarole/meta/main.yml: --- allow_duplicates: yes dependencies: - { rol