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