mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-01-09 13:05:45 +00:00
Removing deprecated loop for packages
This commit is contained in:
parent
d87f4f304c
commit
4ec3826b1d
@ -13,11 +13,11 @@
|
|||||||
|
|
||||||
- name: Install MongoDB package
|
- name: Install MongoDB package
|
||||||
yum:
|
yum:
|
||||||
name: "{{ item }}"
|
name:
|
||||||
state: present
|
|
||||||
with_items:
|
|
||||||
- "{{ mongodb_package }}"
|
- "{{ mongodb_package }}"
|
||||||
- numactl
|
- numactl
|
||||||
|
state: present
|
||||||
|
with_items:
|
||||||
|
|
||||||
- name: Install PyMongo package
|
- name: Install PyMongo package
|
||||||
yum:
|
yum:
|
||||||
@ -27,10 +27,10 @@
|
|||||||
|
|
||||||
- name: Install PIP
|
- name: Install PIP
|
||||||
yum:
|
yum:
|
||||||
name: "{{ item }}"
|
name:
|
||||||
with_items:
|
|
||||||
- python-devel
|
- python-devel
|
||||||
- python-pip
|
- python-pip
|
||||||
|
with_items:
|
||||||
when: mongodb_pymongo_from_pip
|
when: mongodb_pymongo_from_pip
|
||||||
|
|
||||||
- name: Install PyMongo from PIP
|
- name: Install PyMongo from PIP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user