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