From 31f9f039eff6bffabc5830bbfe432dfee44801da Mon Sep 17 00:00:00 2001 From: Nautikos1235 Date: Fri, 27 Sep 2019 16:47:58 +0200 Subject: [PATCH] Add setuptools install --- tasks/install.debian.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/install.debian.yml b/tasks/install.debian.yml index cefa0d0..e5975e6 100644 --- a/tasks/install.debian.yml +++ b/tasks/install.debian.yml @@ -82,6 +82,12 @@ - python-pip when: mongodb_pymongo_from_pip | bool +- name: Install setuptools (required for ansible 2.7+) + apt: + pkg: + - python-setuptools + when: mongodb_pymongo_from_pip | bool + - name: Install PyMongo from PIP pip: name: pymongo