deploy_inital_wdchat_postgresql.yml 325 Bytes
---
- hosts: all
  become: true
  tasks:
    - name: 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'