Commit c02bc1d6 by Carson Gee

Fixed bad YAML and locked db to specific variable configured version

parent d7e8e982
mongo_dbpath: /var/lib/mongodb
mongo_logpath: /var/log/mongodb/mongodb.log
mongo_logappend: true
mongo_version: 2.4.7
mongo_bind_ip: 127.0.0.1
mongo_extra_conf: ''
......
......@@ -21,7 +21,7 @@
- name: mongo | install mongo server and recommends
apt: >
pkg=mongodb-10gen
pkg=mongodb-10gen={{ mongo_version }}
state=present
install_recommends=yes
update_cache=yes
......@@ -53,9 +53,9 @@
- name: mongo | create a mongodb user
mongodb_user: >
database={{ database }}
name={{ user }}
password={{ password }}
database={{ item.database }}
name={{ item.user }}
password={{ item.password }}
state=present
with_items: {{MONGO_USERS}}
with_items: MONGO_USERS
tags: mongo
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment