Commit 46055e12 by Jeff LaJoie

add log, swap role to readwrite

parent 986e6710
...@@ -23,7 +23,7 @@ MONGO_USERS: ...@@ -23,7 +23,7 @@ MONGO_USERS:
- user: cs_comments_service - user: cs_comments_service
password: password password: password
database: cs_comments_service database: cs_comments_service
roles: admin roles: readWrite
- user: edxapp - user: edxapp
password: password password: password
database: edxapp database: edxapp
......
...@@ -200,6 +200,9 @@ ...@@ -200,6 +200,9 @@
# file: path=/tmp/repset_init.js state=absent # file: path=/tmp/repset_init.js state=absent
# when: MONGO_CLUSTERED # when: MONGO_CLUSTERED
- debug:
msg: "user: {{ MONGO_ADMIN_USER }} password {{ MONGO_ADMIN_PASSWORD }}"
- name: Create a mongodb user - name: Create a mongodb user
mongodb_user: mongodb_user:
database: "{{ item.database }}" database: "{{ item.database }}"
......
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