Hi there,

in my hosts file I have a group "product".
This group has 4 hosts: "product-et", "product-at", "product-qs" and 
"product-pr".

"product" has special properties which are valid for all 4 hosts.
Each of the 4 hosts has special properties which are valid only for this 
special host.

Now I want to write a playbook which generates jenkins-jobs.
I want to call this playbook with "hosts=product".

The playbook itself has to generate some jobs for the whole product. So 
each of this jobs should exist only once in Jenkins.
Futher this playbook has to generate some jobs for each of the 4 hosts. So 
each of this jobs should exist 4 times with only differences which depend 
on the host properties.

For each of these jobs the properties of the group and the properties of 
each of the hosts are necessary.

My problem now is that if I call this playbook with "hosts=product" it will 
generate each of the group jobs 4 times. So it's 3 times to much.

So now my question is how to realize this that I am able to have a mix of 
one time execution tasks (for the group) and tasks that have to be executed 
for each host?

Regards,
Tom

-- 
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/767a74d9-e454-40fd-af57-2579511fc57b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to