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 6adc7834
authored
Nov 13, 2017
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
1b137521
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
25 deletions
deploy_inital_wdchat_postgresql.yml
deploy_inital_wdchat_postgresql.yml
View file @
6adc783
...
@@ -2,27 +2,8 @@
...
@@ -2,27 +2,8 @@
-
hosts
:
all
-
hosts
:
all
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
create new user "wdobject" on admin database
-
name
:
Case insensitve password string match
-
mongodb_user
:
expect
:
login_user
:
root
command
:
/opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=postgres -f /tmp/configuration/0.\ Create.User.sql
login_password
:
password
responses
:
login_port
:
7017
(?i)password
:
"
password"
database
:
admin
\ No newline at end of file
user
:
wdobject
password
:
BBKaQWZpX43qN2Rn
roles
:
-
db
:
admin
role
:
userAdminAnyDatabase
-
name
:
create new database "WDCHAT" and new user "wdmongo"
-
mongodb_user
:
login_user
:
wdobject
login_password
:
BBKaQWZpX43qN2Rn
login_port
:
7017
database
:
WDCHAT
user
:
wdmongo
password
:
BBgYWpbfqkr5ZwTS
roles
:
-
db
:
WDCHAT
role
:
dbAdmin
role
:
readWrite
\ 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