Commit fabdc73c by ansible

no message

1 parent 98f2a013
......@@ -4,8 +4,12 @@
vars:
dmapublishURL: 'publishUrl = https://tipeasy.dhipaya.co.th'
tasks:
- file:
path: /opt/stack/dma/conf/dmaconfig.properties
state: touch
mode: 0644
- name: Update DMA publish URL
command: cat '{{ dmapublishURL }}' > /opt/stack/dma/conf/dmaconfig.properties
copy: content="{{ dmapublishURL }}" dest=/opt/stack/dma/conf/dmaconfig.properties
- hosts: blueprint
become: true
......@@ -17,4 +21,10 @@
state: touch
mode: 0644
- name: Update DMA publish URL
copy: content="{{ dmapublishURL }}" dest=/opt/stack/dma/conf/dmaconfig.properties
\ No newline at end of file
copy: content="{{ dmapublishURL }}" dest=/opt/stack/dma/conf/dmaconfig.properties
- name: Update New Domain
expect:
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=postgres '
responses:
'Password for user postgres': 'password'
\ No newline at end of file
......@@ -14,16 +14,17 @@
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/configuration/pf_3041_02_create_seq_dma_message_user_rel_id_seq.sql
responses:
'Password for user wdchat': 'BBRyAPNh6g4H9qte'
- name: Patch WDCHAT 3.0.4.1_03
expect:
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/configuration/pf_3041_03_create_table_dma_message_user_rel.sql
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/configuration/pf_3041_03_create_table_dma_message.sql
responses:
'Password for user wdchat': 'BBRyAPNh6g4H9qte'
- name: Patch WDCHAT 3.0.4.1_04
expect:
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/configuration/pf_3041_04_create_table_dma_message.sql
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/configuration/pf_3041_04_create_table_dma_message_user_rel.sql
responses:
'Password for user wdchat': 'BBRyAPNh6g4H9qte'
\ No newline at end of file
'Password for user wdchat': 'BBRyAPNh6g4H9qte'
# update
\ 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!