Commit debc0963 by ansible

no message

1 parent b6d60162
Showing with 9 additions and 4 deletions
...@@ -11,7 +11,10 @@ ...@@ -11,7 +11,10 @@
user: wdobject user: wdobject
password: BBKaQWZpX43qN2Rn password: BBKaQWZpX43qN2Rn
roles: roles:
- { role: "userAdminAnyDatabase", db: "admin" } - db: admin
role: userAdminAnyDatabase
- name: create new database "WDCHAT" and new user "wdmongo" - name: create new database "WDCHAT" and new user "wdmongo"
- mongodb_user: - mongodb_user:
login_user: wdobject login_user: wdobject
...@@ -21,5 +24,7 @@ ...@@ -21,5 +24,7 @@
user: wdmongo user: wdmongo
password: BBgYWpbfqkr5ZwTS password: BBgYWpbfqkr5ZwTS
roles: roles:
- { role: "dbAdmin", db: "WDCHAT" } - db: WDCHAT
- { role: "readWrite", db : "WDCHAT" } role: dbAdmin
\ No newline at end of file role: readWrite
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!