add pip as dependency
This commit is contained in:
parent
004ec365f1
commit
8a7daa5575
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user