Removing deprecated loop for packages

This commit is contained in:
Thiago Almeida 2019-05-17 12:10:09 +02:00
parent d87f4f304c
commit 4ec3826b1d
1 changed files with 5 additions and 5 deletions

View File

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