install pymongo from pip beacause epel is outdated
This commit is contained in:
parent
1e7c62316e
commit
004ec365f1
@ -11,12 +11,16 @@
|
||||
|
||||
- name: Install package
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
name: mongodb-org
|
||||
state: present
|
||||
with_items:
|
||||
- mongodb-org
|
||||
- python-pymongo
|
||||
become: True
|
||||
|
||||
- name: Install pymongo as ansible dependency
|
||||
pip:
|
||||
name: pymongo
|
||||
extra_args: --user
|
||||
|
||||
- block:
|
||||
- name: Create system group '{{ mongodb_system_group }}'
|
||||
group:
|
||||
name: "{{ mongodb_system_group }}"
|
||||
|
Loading…
Reference in New Issue
Block a user