From 9b108da9f5a6813bb34f49ee4d77dc01b6943fe8 Mon Sep 17 00:00:00 2001 From: Sergei Antipov Date: Tue, 17 Nov 2015 11:54:21 +0600 Subject: [PATCH] Added version for pymongo --- .gitignore | 3 ++- defaults/main.yml | 1 + tasks/install.deb.yml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 63f1968..d389fa1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .idea *~ \#*\# -.\#* \ No newline at end of file +.\#* +.ropeproject/ \ No newline at end of file diff --git a/defaults/main.yml b/defaults/main.yml index fbbfa14..f495981 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/tasks/install.deb.yml b/tasks/install.deb.yml index b47d155..bb18682 100644 --- a/tasks/install.deb.yml +++ b/tasks/install.deb.yml @@ -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