Commit 660bde73 by ansible

no message

1 parent 810cabf9
---
- hosts: deployed-wdchat-dma, deploy-wdchat-dma-single-host
become: true
tasks:
- name: Patch WDCHAT 3.0.4.1_01
expect:
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/configuration/pf_3041_01_create_seq_dma_message_id_seq.sql
responses:
'Password for user wdchat': 'BBRyAPNh6g4H9qte'
- name: Patch WDCHAT 3.0.4.1_02
expect:
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.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_user_rel.sql
responses:
'Password for user wdchat': 'BBRyAPNh6g4H9qte'
# update
\ No newline at end of file
......@@ -2,15 +2,9 @@
- hosts: deployed-wdchat-dma, deploy-wdchat-dma-single-host
become: true
tasks:
#- name: Insert Initial Data for WDCHAT 7017
# command: /tmp/source/mongo_7017.sh
- name: Insert Initial Data for DMAMANAGER 7018
command: /tmp/configuration/update_dmamanager.sh
- name: Insert Initial Data for SERVICEGATEWAY 7019
command: /tmp/configuration/update_servicegateway.sh
#- name: Insert Initial Data for DMAENGINE 7020
# command: /tmp/source/mongo_7020.sh
---
- hosts: deployed-wdchat-dma, deploy-wdchat-dma-single-host
become: true
tasks:
- name: Patch WDCHAT 304 20171129
expect:
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/configuration/Patch_304_20171128_psql_WDCHAT.sql
responses:
'Password for user wdchat': 'BBRyAPNh6g4H9qte'
- name: Patch WDAUTHEN 304 20171129
expect:
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdauthen -d WDAUTHEN -f /tmp/configuration/Patch_304_20171128_psql_WDAUTHEN.sql
responses:
'Password for user wdauthen': 'BBEcLWu5Cdzy3aeH'
# update
\ No newline at end of file
---
- hosts: deployed-wdchat-dma
become: true
tasks:
- name: Extract File
command: tar -zxvf /tmp/source/webgate.3.0.4.tar.gz -C /tmp/source/
- name: Backup current configuration
command: mv /opt/stack/nginx/conf /opt/stack/nginx/bkconf
- name: Deploy new configuration
command: mv /tmp/source/conf /opt/stack/nginx/.
- name: Delete backup configuration
command: rm -r /opt/stack/nginx/bkconf
- hosts: deploy-wdchat-dma-single-host
become: true
tasks:
- name: Extract File
command: tar -zxvf /tmp/source/webgate.singlehost.conf.tar.gz -C /tmp/source/
- name: Backup current configuration
command: mv /opt/stack/nginx/conf /opt/stack/nginx/bkconf
- name: Deploy new configuration
command: mv /tmp/source/conf /opt/stack/nginx/.
- name: Delete backup configuration
command: rm -r /opt/stack/nginx/bkconf
......@@ -2,14 +2,12 @@
- hosts: install-wdchat-dma-twohost
become: true
tasks:
- name: Extract File
command: tar -zxvf /tmp/source/webgate.3.0.4.tar.gz -C /tmp/source/
- name: Backup current configuration
command: mv /opt/stack/nginx/conf /opt/stack/nginx/bkconf
- name: Deploy new configuration
command: mv /tmp/source/conf /opt/stack/nginx/.
- name: Delete backup configuration
command: rm -r /opt/stack/nginx/bkconf
- name: Move NginX to Working Folder
command: cp /tmp/source/webgate.3.0.4.tar.gz /opt/stack/webgate.3.0.4.tar.gz
- name: Extract NginX
command: tar -zxvf /opt/stack/webgate.3.0.4.tar.gz -C /opt/stack/
- name: Delete File
command: rm /opt/stack/webgate.3.0.4.tar.gz
- hosts: install-wdchat-dma
become: true
......@@ -20,3 +18,13 @@
command: tar -zxvf /opt/stack/webgate.singlehost.dma.plus.wdchat.conf.tar.gz -C /opt/stack/
- name: Delete File
command: rm /opt/stack/webgate.singlehost.dma.plus.wdchat.conf.tar.gz
- hosts: install-dma
become: true
tasks:
- name: Move NginX to Working Folder
command: cp /tmp/source/webgate.singlehost.dma.conf.tar.gz /opt/stack/webgate.singlehost.dma.conf.tar.gz
- name: Extract NginX
command: tar -zxvf /opt/stack/webgate.singlehost.dma.conf.tar.gz -C /opt/stack/
- name: Delete File
command: rm /opt/stack/webgate.singlehost.dma.conf.tar.gz
\ 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!