add pip as dependency

This commit is contained in:
Robert Kaussow 2018-07-07 19:20:29 +02:00
parent 004ec365f1
commit 8a7daa5575

View File

@ -9,15 +9,19 @@
enabled: yes
gpgkey: "https://www.mongodb.org/static/pgp/server-{{ mongodb_version }}.asc"
- name: Install package
- name: Install packages
package:
name: mongodb-org
name: "{{ item }}"
state: present
with_items:
- mongodb-org
- python2-pip
become: True
- name: Install pymongo as ansible dependency
pip:
name: pymongo
state: present
extra_args: --user
- block: