Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.

Commit 4d12e8e

Browse files
author
speedlight
committed
yum deprectation warnings for mongodb playbook
1 parent b83c169 commit 4d12e8e

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

mongodb/group_vars/all

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,11 @@ iface: '{{ ansible_default_ipv4.interface }}'
2323

2424
# The password for admin user
2525
mongo_admin_pass: 123456
26+
27+
mongodb_packages:
28+
- libselinux-python
29+
- mongo-10gen
30+
- mongo-10gen-server
31+
- bc
32+
- python-pip
33+

mongodb/roles/common/tasks/main.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,7 @@
2020
file: path={{ mongodb_datadir_prefix }} owner=mongod group=mongod state=directory
2121

2222
- name: Install the mongodb package
23-
yum: name={{ item }} state=installed
24-
with_items:
25-
- libselinux-python
26-
- mongo-10gen
27-
- mongo-10gen-server
28-
- bc
29-
- python-pip
23+
yum: name={{ mongodb_packages }} state=installed
3024

3125
- name: Install the latest pymongo package
3226
pip: name=pymongo state=latest use_mirrors=no

0 commit comments

Comments
 (0)