Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ansible
/
dma-playbook
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4ba41a93
authored
Nov 14, 2017
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
1648da83
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
17 deletions
deploy_inital_dmaengine_db.yml
deploy_inital_dmaengine_db.yml
View file @
4ba41a9
...
...
@@ -4,25 +4,14 @@
tasks
:
-
name
:
Add new user in admin database
mongodb_user
:
login_user
:
"
{{
root
}}"
login_password
:
"
{{
password
}}"
login_user
:
root
login_password
:
password
login_port
:
"
7017"
database
:
"
admin"
name
:
"
{{
wdobject
}}"
password
:
"
{{
BBKaQWZpX43qN2Rn
}}"
user
:
test
password
:
password
roles
:
-
{
role
:
"
userAdminAnyDatabase"
,
db
:
"
admin"
}
-
name
:
Create WDCHAT database and add new user
mongodb_user
:
login_user
:
"
{{
wdobject
}}"
login_password
:
"
{{
BBKaQWZpX43qN2Rn
}}"
login_port
:
"
7017"
database
:
"
WDCHAT"
name
:
"
{{
wdmongo
}}"
password
:
"
{{
BBgYWpbfqkr5ZwTS
}}"
roles
:
-
{
role
:
"
dbAdmin"
,
db
:
"
WDCHAT"
}
-
{
role
:
"
readWrite"
,
db
:
"
WDCHAT"
}
-
db
:
admin
-
role
:
userAdminAnyDatabase
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment