Created
July 18, 2014 08:00
-
-
Save hostmaster/29287b8e29945ea46b95 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: pip - install packages | |
pip: name={{ item.name|default(item) }} | |
{% if item.version|default('') > '' %} | |
version={{ item.version }} | |
{% else %} | |
state=latest | |
{% endif %} | |
with_items: | |
- MySQL-python | |
- { name: Django, version: 1.6.5 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment