Added version for pymongo

This commit is contained in:
Sergei Antipov 2015-11-17 11:54:21 +06:00
parent e2fdf109cb
commit 9b108da9f5
3 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
*~
\#*\#
.\#*
.ropeproject/

View File

@ -5,6 +5,7 @@ mongodb_apt_key_url: http://docs.mongodb.org/10gen-gpg-key.asc
mongodb_apt_key_id: 7F0CEB10
mongodb_force_wait_for_port: false
mongodb_pymongo_from_pip: false # Install latest PyMongo via PIP or package manager
mongodb_pymongo_pip_version: "2.9"
mongodb_disable_thp: true
mongodb_manage_service: true

View File

@ -51,5 +51,5 @@
when: mongodb_pymongo_from_pip
- name: Install PyMongo from PIP
pip: name=pymongo state=latest
pip: name=pymongo version="{{ mongodb_pymongo_pip_version }}" state=latest
when: mongodb_pymongo_from_pip