Commit fabdc73c by ansible

no message

1 parent 98f2a013
...@@ -4,8 +4,12 @@ ...@@ -4,8 +4,12 @@
vars: vars:
dmapublishURL: 'publishUrl = https://tipeasy.dhipaya.co.th' dmapublishURL: 'publishUrl = https://tipeasy.dhipaya.co.th'
tasks: tasks:
- file:
path: /opt/stack/dma/conf/dmaconfig.properties
state: touch
mode: 0644
- name: Update DMA publish URL - 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 - hosts: blueprint
become: true become: true
...@@ -18,3 +22,9 @@ ...@@ -18,3 +22,9 @@
mode: 0644 mode: 0644
- name: Update DMA publish URL - name: Update DMA publish URL
copy: content="{{ dmapublishURL }}" dest=/opt/stack/dma/conf/dmaconfig.properties 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
...@@ -17,13 +17,14 @@ ...@@ -17,13 +17,14 @@
- name: Patch WDCHAT 3.0.4.1_03 - name: Patch WDCHAT 3.0.4.1_03
expect: 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: responses:
'Password for user wdchat': 'BBRyAPNh6g4H9qte' 'Password for user wdchat': 'BBRyAPNh6g4H9qte'
- name: Patch WDCHAT 3.0.4.1_04 - name: Patch WDCHAT 3.0.4.1_04
expect: 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: responses:
'Password for user wdchat': 'BBRyAPNh6g4H9qte' '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!