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 64dcc634
authored
Nov 13, 2017
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
35b20302
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
deploy_inital_wdchat_postgresql.yml
deploy_inital_wdchat_postgresql.yml
View file @
64dcc63
...
...
@@ -2,23 +2,24 @@
-
hosts
:
all
become
:
true
tasks
:
-
name
:
create new user "wdobject" on admin database
-
mongodb_user
:
login_user
:
"
{{
root
}}"
login_password
:
"
{{
password
}}"
login_port
:
"
7017"
database
:
"
admin"
name
:
"
{{
wdobject
}}"
password
:
"
{{
BBKaQWZpX43qN2Rn
}}"
login_user
:
root
login_password
:
password
login_port
:
7017
database
:
admin
name
:
wdobject
password
:
BBKaQWZpX43qN2Rn
roles
:
-
{
role
:
"
userAdminAnyDatabase"
,
db
:
"
admin"
}
-
name
:
create new database "WDCHAT" and new user "wdmongo"
-
mongodb_user
:
login_user
:
"
{{
wdobject
}}"
login_password
:
"
{{
BBKaQWZpX43qN2Rn
}}"
login_port
:
"
7017"
database
:
"
WDCHAT"
name
:
"
{{
wdmongo
}}"
password
:
"
{{
BBgYWpbfqkr5ZwTS
}}"
login_user
:
wdobject
login_password
:
BBKaQWZpX43qN2Rn
login_port
:
7017
database
:
WDCHAT
name
:
wdmongo
password
:
BBgYWpbfqkr5ZwTS
roles
:
-
{
role
:
"
dbAdmin"
,
db
:
"
WDCHAT"
}
-
{
role
:
"
readWrite"
,
db
:
"
WDCHAT"
}
-
{
role
:
"
readWrite"
,
db
:
"
WDCHAT"
}
\ No newline at end of file
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