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
1 changed files with 8 additions and 4 deletions

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