I have a long list packages to install in the fashion:

pip install <package>==<version> 

I can see that you can do 
 

pip: name={{ item }} state=present
with_items:
  - <package>
  - <package>
   ...

But how can I specify the version in a loop?   

Sorry, new at this...

Many thanks


-- 
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/f94a9a9f-05d6-41fd-902e-94e5961bbf7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to