Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ansible
/
dma-playbook
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8e313cf5
authored
Apr 26, 2018
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
5c8ff673
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
8 deletions
roles/deploy/tasks/dma.yml
roles/deploy/tasks/wdchat.yml
roles/deploy/tasks/dma.yml
View file @
8e313cf
...
@@ -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
...
...
roles/deploy/tasks/wdchat.yml
View file @
8e313cf
...
@@ -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
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment