install pymongo from pip beacause epel is outdated

This commit is contained in:
Robert Kaussow 2018-07-07 19:12:50 +02:00
parent 1e7c62316e
commit 004ec365f1

View File

@ -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 }}"