We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 695e582 commit a9c403eCopy full SHA for a9c403e
tasks/install.debian.yml
@@ -97,6 +97,14 @@
97
notify:
98
- reload systemd
99
100
+# workaround for the issue with pip idempotency
101
+- name: Forcefully set mongodb_pymongo_from_pip to true on Debian 10
102
+ set_fact:
103
+ mongodb_pymongo_from_pip: false
104
+ when:
105
+ - ansible_distribution == 'Debian'
106
+ - ansible_distribution_release == 'buster'
107
+
108
- name: Install PyMongo package
109
apt:
110
name: python-pymongo
@@ -115,13 +123,6 @@
115
123
pkg:
116
124
- python-setuptools
117
125
when: mongodb_pymongo_from_pip | bool
118
-
119
-- name: Upgrade pip to the newer version
120
- pip:
121
- name: pip
122
- state: present
- version: "20.3.4"
- when: mongodb_pymongo_from_pip | bool
126
127
- name: Install PyMongo from PIP
128
pip:
0 commit comments