deploy_inital_wdchat_postgresql.yml
580 Bytes
----
- hosts: all
become: true
tasks:
- name: 1 Create Database WDCHAT & WDAUTHEN & USER
expect:
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=postgres -f /tmp/configuration/1_Create.User.sql
responses:
Password for user postgres: 'password'
expect:
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/configuration/2_Create.WDCHAT.Table.sql
responses:
Password for user postgres: 'BBRyAPNh6g4H9qte'