Commit 8e313cf5 by ansible

no message

1 parent 5c8ff673
...@@ -9,6 +9,11 @@ ...@@ -9,6 +9,11 @@
- name: End Deploy DMA - ims - name: End Deploy DMA - ims
command: cp /tmp/application/{{ app_version }}/ims-1.0.6.0.war /opt/stack/runtime/wildfly/standalone/deployments/. command: cp /tmp/application/{{ app_version }}/ims-1.0.6.0.war /opt/stack/runtime/wildfly/standalone/deployments/.
- name: Begin Reconfigure Customer Environment - Create properties file
file:
path: /opt/stack/dma/conf/dmaconfig.properties
state: touch
mode: 0644
- name: Begin Reconfigure Customer Environment - Update NginX DMA server name - name: Begin Reconfigure Customer Environment - Update NginX DMA server name
copy: content="{{ dmaserverName }}" dest=/opt/stack/nginx/conf/dmadomain.conf copy: content="{{ dmaserverName }}" dest=/opt/stack/nginx/conf/dmadomain.conf
......
...@@ -15,14 +15,6 @@ ...@@ -15,14 +15,6 @@
- name: Deploy WDCAT - iChatManagement - name: Deploy WDCAT - iChatManagement
command: cp /tmp/application/{{ app_version }}/iChatManagement*.war /opt/stack/admin/wildfly/standalone/deployments/. command: cp /tmp/application/{{ app_version }}/iChatManagement*.war /opt/stack/admin/wildfly/standalone/deployments/.
# vars:
# dmapublishURL: 'publishUrl = https://{{ app_fqdn }}'
# wdchatpublishURL: https://{{ app_fqdn }}
# updateURL: https://{{ app_fqdn }}:444/index.html
# dmaserverName: 'server_name {{ app_fqdn }};'
# wdchatserverName: 'server_name {{ app_fqdn }};'
# hostName: wdchat
# etcHost: '127.0.0.1 wdchatgateway localhost wdchatengine wdchat'
- name: Reconfigure Customer Environment - Update publish url - name: Reconfigure Customer Environment - Update publish url
expect: expect:
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -c "update wd_sys_config set sys_value = '{{ wdchatpublishURL }}' where sys_group ='system' and sys_key = 'publish_url'" command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -c "update wd_sys_config set sys_value = '{{ wdchatpublishURL }}' where sys_group ='system' and sys_key = 'publish_url'"
...@@ -46,5 +38,14 @@ ...@@ -46,5 +38,14 @@
group: root group: root
mode: 0644 mode: 0644
- name: Update Theme
expect:
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/{{ customer_name }}/wdchat_theme.sql
responses:
'Password for user wdchat': 'BBRyAPNh6g4H9qte'
- name: Deploy Customer iChatWeb.war
command: cp /tmp/{{ customer_name }}/iChatWeb.war /opt/stack/runtime/wildfly/standalone/deployments/iChatWeb.war
- name: Start WDCHAT service - name: Start WDCHAT service
shell: /opt/stack/script/ctlscript.sh start shell: /opt/stack/script/ctlscript.sh start
\ 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!