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 enabled: yes
gpgkey: "https://www.mongodb.org/static/pgp/server-{{ mongodb_version }}.asc" gpgkey: "https://www.mongodb.org/static/pgp/server-{{ mongodb_version }}.asc"
- name: Install package - name: Install packages
package: package:
name: mongodb-org name: "{{ item }}"
state: present state: present
with_items:
- mongodb-org
- python2-pip
become: True become: True
- name: Install pymongo as ansible dependency - name: Install pymongo as ansible dependency
pip: pip:
name: pymongo name: pymongo
state: present
extra_args: --user extra_args: --user
- block: - block: