Skip to content

Commit

Permalink
Merge pull request #157 from StackStorm/mongodb_34
Browse files Browse the repository at this point in the history
Install MongoDB 3.4 by default
  • Loading branch information
armab authored Aug 24, 2017
2 parents a505950 + fad866e commit cf9bf6a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion roles/mongodb/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
galaxy_info:
description: Install MongoDB-3.2
description: Install MongoDB-3.4
author: humblearner
company: StackStorm
license: Apache
Expand Down
4 changes: 2 additions & 2 deletions roles/mongodb/tasks/mongodb_apt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
become: yes
apt_key:
keyserver: "hkp://keyserver.ubuntu.com:80"
id: 42F3E95A2C4F08279C4960ADD68FA50FEA312927
id: 0C49F3730359A14518585931BC711F9BA15703C6
state: present
tags: [databases, mongodb]

- name: apt | Add mongodb repository
become: yes
apt_repository:
repo: 'deb http://repo.mongodb.org/apt/{{ ansible_distribution|lower }} {{ ansible_distribution_release|lower }}/mongodb-org/3.2 multiverse'
repo: 'deb http://repo.mongodb.org/apt/{{ ansible_distribution|lower }} {{ ansible_distribution_release|lower }}/mongodb-org/3.4 multiverse'
state: present
tags: [databases, mongodb]

Expand Down
8 changes: 4 additions & 4 deletions roles/mongodb/tasks/mongodb_yum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
- name: yum | Add mongodb key
become: yes
rpm_key:
key: https://www.mongodb.org/static/pgp/server-3.2.asc
key: https://www.mongodb.org/static/pgp/server-3.4.asc
state: present
tags: [databases, mongodb]

- name: yum | Add mongodb repository
become: yes
yum_repository:
name: mongodb-org-3.2
name: mongodb-org-3.4
description: MongoDB Repository
gpgcheck: yes
enabled: yes
baseurl: https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/
gpgkey: https://www.mongodb.org/static/pgp/server-3.2.asc
baseurl: https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.4/x86_64/
gpgkey: https://www.mongodb.org/static/pgp/server-3.4.asc
state: present
tags: [databases, mongodb]

Expand Down

0 comments on commit cf9bf6a

Please sign in to comment.