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