Commit 6adc7834 by ansible

no message

1 parent 1b137521
Showing with 6 additions and 25 deletions
......@@ -2,27 +2,8 @@
- 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
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
- name: Case insensitve password string match
expect:
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=postgres -f /tmp/configuration/0.\ Create.User.sql
responses:
(?i)password: "password"
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!