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 67d37c3c
authored
Apr 26, 2018
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
415c93c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
8 deletions
deployapp.yml
roles/deploy/tasks/dma.yml
deployapp.yml
View file @
67d37c3
---
-
hosts
:
NewServer
become
:
true
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'
tasks
:
-
import_role
:
name
:
deploy
\ No newline at end of file
roles/deploy/tasks/dma.yml
View file @
67d37c3
...
...
@@ -9,14 +9,14 @@
-
name
:
End Deploy DMA - ims
command
:
cp /tmp/application/{{ app_version }}/ims-1.0.6.0.war /opt/stack/runtime/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'
#
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
:
Begin Reconfigure Customer Environment - Update NginX DMA server name
copy
:
content="{{ dmaserverName }}" dest=/opt/stack/nginx/conf/dmadomain.conf
...
...
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