Thanks. It's working now. 

On Wednesday, January 14, 2015 at 12:25:14 AM UTC+2, Tom Bamford wrote:
>
> Add the following to roles/php-fpm/meta/main.yml and that role will be 
> invoked for each dependency
>
> allow_duplicates: yes
>
> ​
>
> On 13 January 2015 at 20:54, vadimv Vatlin <[email protected] 
> <javascript:>> wrote:
>
>> Hello
>>
>> I want to create meta role to setup web site configuration nginx + 
>> php-fpm 
>>
>>
>> playbook client.yml:    
>>
>> - roles:
>>
>>   - { role: web-site, sites: 'domain.com, domain1.com’, fpm_pool: 
>> ‘domain’ }
>>
>>   - { role: web-site, sites: 'site.com, site1.com', fpm_pool: ‘site’, 
>> www_dir: 'web', memory_limit: '128MB' }
>>
>>
>> role/web-site/meta/main.yml:
>>
>> allow_duplicates: yes
>>
>> dependencies:
>>
>>   - { role: php-fpm, pool: "{{ fpm_pool }}" }
>>
>>
>> role/php-fpm/
>>
>>
>> I include web-site role twice but role php-fpm invoked only once . Why ? 
>> and how can i invoke php-fpm role twice ?  
>>
>>  -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/6a8b0d67-15d1-4064-a00a-142f2f3054c7%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/6a8b0d67-15d1-4064-a00a-142f2f3054c7%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> 

-- 
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/76607a72-6b0a-4d66-84e3-ec21db2e9444%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to