For me the use case is : - I have a playbook that installs elasticsearch using a role - elasticsearch version is defined in the host file as a variable along each server name - I have a group with all the hosts needing elasticsearch
Until then, we were using elasticsearch 0.90.x (x is 2,3 or 9). Now, I need to install BOTH the 0.90.x and the new 1.0.1 version at the same time. While the playbook can handle that, I can't find a way to have the role played twice, once for each version ? The only solution so far is calling the role twice and statically setting the version on each call, which is not acceptable. One solution would be to call the role using a with_item statement to have it run for every version is defined in a dict... but this is deprecated.... Any clue ? Thanks. Prune -- 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/27b74716-fb53-4238-8c79-ab46cd9ac5b1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
