Commit debc0963 by ansible

no message

1 parent b6d60162
Showing with 9 additions and 4 deletions
......@@ -11,7 +11,10 @@
user: wdobject
password: BBKaQWZpX43qN2Rn
roles:
- { role: "userAdminAnyDatabase", db: "admin" }
- db: admin
role: userAdminAnyDatabase
- name: create new database "WDCHAT" and new user "wdmongo"
- mongodb_user:
login_user: wdobject
......@@ -21,5 +24,7 @@
user: wdmongo
password: BBgYWpbfqkr5ZwTS
roles:
- { role: "dbAdmin", db: "WDCHAT" }
- { role: "readWrite", db : "WDCHAT" }
\ No newline at end of file
- db: WDCHAT
role: dbAdmin
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!