Skip to content

Commit e292e44

Browse files
author
vagrant
committed
Deprecation for apt resolved
1 parent 6745bcc commit e292e44

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

tasks/install.debian.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,11 @@
5050
when: mongodb_package == 'mongodb-org'
5151

5252
- name: Install MongoDB package
53-
apt: name={{item}} state=present
54-
with_items:
55-
- "{{mongodb_package}}"
56-
- numactl
53+
apt:
54+
name:
55+
- "{{mongodb_package}}"
56+
- numactl
57+
state: present
5758

5859
- name: Add systemd configuration if present
5960
copy: src=mongodb.service dest=/lib/systemd/system/mongodb.service owner=root group=root mode=0640
@@ -76,10 +77,10 @@
7677
when: not mongodb_pymongo_from_pip
7778

7879
- name: Install PIP
79-
apt: pkg={{ item }}
80-
with_items:
81-
- python-dev
82-
- python-pip
80+
apt:
81+
pkg:
82+
- python-dev
83+
- python-pip
8384
when: mongodb_pymongo_from_pip
8485

8586
- name: Install PyMongo from PIP

0 commit comments

Comments
 (0)