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 904b1eee
authored
Nov 15, 2017
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
103af460
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
15 deletions
deploy_inital_wdchat_mongo.yml
deploy_inital_wdchat_mongo.yml
View file @
904b1ee
...
@@ -4,23 +4,25 @@
...
@@ -4,23 +4,25 @@
tasks
:
tasks
:
-
name
:
Add new user in admin database
-
name
:
Add new user in admin database
mongodb_user
:
mongodb_user
:
login_user
:
"
{{
root
}}"
login_user
:
root
login_password
:
"
{{
password
}}"
login_password
:
password
login_port
:
"
7017"
login_port
:
7017
database
:
"
admin"
database
:
admin
name
:
"
{{
wdobject
}}"
user
:
wdobject
password
:
"
{{
BBKaQWZpX43qN2Rn
}}"
password
:
BBKaQWZpX43qN2Rn
roles
:
roles
:
-
{
role
:
"
userAdminAnyDatabase"
,
db
:
"
admin"
}
-
db
:
admin
-
role
:
userAdminAnyDatabase
-
name
:
Create WDCHAT database and add new user
-
name
:
Create WDCHAT database and add new user
mongodb_user
:
mongodb_user
:
login_user
:
"
{{
wdobject
}}"
login_user
:
wdobject
login_password
:
"
{{
BBKaQWZpX43qN2Rn
}}"
login_password
:
BBKaQWZpX43qN2Rn
login_port
:
"
7017"
login_port
:
7017
database
:
"
WDCHAT"
database
:
WDCHAT
name
:
"
{{
wdmongo
}}"
name
:
wdmongo
password
:
"
{{
BBgYWpbfqkr5ZwTS
}}"
password
:
BBgYWpbfqkr5ZwTS
roles
:
roles
:
-
{
role
:
"
dbAdmin"
,
db
:
"
WDCHAT"
}
-
db
:
WDCHAT
-
{
role
:
"
readWrite"
,
db
:
"
WDCHAT"
}
-
role
:
dbAdmin
-
role
:
readWrite
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