This commit is contained in:
Robert Kaussow 2017-12-22 13:27:23 +01:00
parent 161f7e25fb
commit 13e372315f

View File

@ -2,7 +2,7 @@
- block: - block:
- name: Add mongodb repo - name: Add mongodb repo
yum-repository: yum-repository:
name: mongodb-org-3.4 name: "mongodb-org-3.4"
description: MongoDB Repository description: MongoDB Repository
baseurl: https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.4/x86_64/ baseurl: https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.4/x86_64/
gpgcheck: yes gpgcheck: yes
@ -13,7 +13,7 @@
- name: Install mongodb package - name: Install mongodb package
package: package:
name: 'mongodb-org' name: "mongodb-org"
state: latest state: latest
notify: notify:
- mongod_restart - mongod_restart