Commit 697e0819 by ansible

no message

1 parent 904b1eee
Showing with 3 additions and 5 deletions
......@@ -2,20 +2,18 @@
- hosts: wdchat-dma
become: true
tasks:
- name: Add new user in admin database
mongodb_user:
- mongodb_user:
login_user: root
login_password: password
login_port: 7017
database: admin
user: wdobject
name: wdobject
password: BBKaQWZpX43qN2Rn
roles:
- db: admin
- role: userAdminAnyDatabase
- name: Create WDCHAT database and add new user
mongodb_user:
- mongodb_user:
login_user: wdobject
login_password: BBKaQWZpX43qN2Rn
login_port: 7017
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!