xoxys.mongodb/tasks/install.yml
2017-07-14 23:05:30 +02:00

15 lines
377 B
YAML

---
- name: add mongodb repo
yum-repository:
name: mongodb-org-3.4
description: MongoDB Repository
baseurl: https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.4/x86_64/
gpgcheck: yes
enabled: yes
gpgkey: https://www.mongodb.org/static/pgp/server-3.4.asc
- name: install mongodb package
package:
name: 'mongodb-org'
state: latest