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].
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/6a8b0d67-15d1-4064-a00a-142f2f3054c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to