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