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 fe37b419
authored
Apr 26, 2018
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
67d37c3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
roles/deploy/tasks/wdchat.yml
roles/deploy/tasks/wdchat.yml
View file @
fe37b41
...
@@ -15,14 +15,14 @@
...
@@ -15,14 +15,14 @@
-
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
:
#
vars:
dmapublishURL
:
'
publishUrl
=
https://{{
app_fqdn
}}'
#
dmapublishURL: 'publishUrl = https://{{ app_fqdn }}'
wdchatpublishURL
:
https://{{ app_fqdn }}
#
wdchatpublishURL: https://{{ app_fqdn }}
updateURL
:
https://{{ app_fqdn }}:444/index.html
#
updateURL: https://{{ app_fqdn }}:444/index.html
dmaserverName
:
'
server_name
{{
app_fqdn
}};'
#
dmaserverName: 'server_name {{ app_fqdn }};'
wdchatserverName
:
'
server_name
{{
app_fqdn
}};'
#
wdchatserverName: 'server_name {{ app_fqdn }};'
hostName
:
wdchat
#
hostName: wdchat
etcHost
:
'
127.0.0.1
wdchatgateway
localhost
wdchatengine
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'"
...
...
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