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 6a23b292
authored
Apr 29, 2018
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
378c8114
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
35 deletions
roles/deploy/tasks/dma.yml
roles/deploy/tasks/main.yml
roles/deploy/tasks/wdchat.yml
roles/deploy/tasks/dma.yml
View file @
6a23b29
...
...
@@ -42,7 +42,4 @@
line
:
"
{{
etcHost
}}"
owner
:
root
group
:
root
mode
:
0644
-
name
:
Start DMA service
shell
:
/opt/stack/script/ctlscript.sh start
\ No newline at end of file
mode
:
0644
\ No newline at end of file
roles/deploy/tasks/main.yml
View file @
6a23b29
-
name
:
Start SoftwareStack
shell
:
/opt/stack/mongodb/ctlscript.sh start
when
:
app_name == 'dma' or app_name == 'wdchat'
-
name
:
Start SoftwareStack
shell
:
/opt/stack/postgres/ctlscript.sh start
when
:
app_name == 'dma' or app_name == 'wdchat'
-
name
:
Start SoftwareStack
shell
:
/opt/stack/mongodb1/ctlscript.sh start
when
:
app_name == 'dma'
-
name
:
Start SoftwareStack
shell
:
/opt/stack/mongodb2/ctlscript.sh start
when
:
app_name == 'dma'
-
name
:
Start Service
shell
:
/opt/stack/script/ctlscript.sh start
-
name
:
Deploy Application based on Application Name
import_tasks
:
apimanager.yml
...
...
@@ -18,16 +8,3 @@
when
:
app_name == 'dma'
-
import_tasks
:
wdchat.yml
when
:
app_name == 'wdchat'
-
name
:
Start SoftwareStack
shell
:
/opt/stack/mongodb/ctlscript.sh stop
when
:
app_name == 'dma' or app_name == 'wdchat'
-
name
:
Start SoftwareStack
shell
:
/opt/stack/postgres/ctlscript.sh stop
when
:
app_name == 'dma' or app_name == 'wdchat'
-
name
:
Start SoftwareStack
shell
:
/opt/stack/mongodb1/ctlscript.sh stop
when
:
app_name == 'dma'
-
name
:
Start SoftwareStack
shell
:
/opt/stack/mongodb2/ctlscript.sh stop
when
:
app_name == 'dma'
roles/deploy/tasks/wdchat.yml
View file @
6a23b29
...
...
@@ -45,7 +45,4 @@
'
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
shell
:
/opt/stack/script/ctlscript.sh start
\ No newline at end of file
command
:
cp /tmp/{{ customer_name }}/iChatWeb.war /opt/stack/runtime/wildfly/standalone/deployments/iChatWeb.war
\ 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