Hi all, 

I have a playbook like:

  hosts: weblogic
  ...
  roles:
    - { role: weblogic, wls: "{{weblogic['12.1.3']}}" }
    - { role: weblogic, wls: "{{weblogic['12.1.1']}}" }



The role "weblogic" itself has a dependency to a role "java/jdk"

dependencies:
  - { role: java/jdk, jdk_version: "{{wls.jdk_version}}" }



Now,the role "java/jdk" is executed only once in this play - but needs to 
be executed twice - for each weblogic role execution, 
using different parameters of course, coming from the dict i pass in.

How can I force this ? 

I know about the "allow_duplicates" - but this cannot be set here, right ?

Any way todo this?

With role dependencies we want to manage the tree, that needs to be setup 
whenever setting up a component.
Setting up weblogic should therefore always setup the needed JDK.

Thanx for any hints, 

Torsten

-- 
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/4baedbcc-76e3-40f6-ba3c-69516b7c14c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to