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 a7c1d12e
authored
Apr 27, 2018
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
b0e70c2b
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
21 additions
and
4 deletions
roles/install/tasks/admin.yml
roles/install/tasks/dmamanager.yml
roles/install/tasks/main.yml
roles/install/tasks/mqtt.yml
roles/install/tasks/nginx.yml
roles/install/tasks/runtime.yml
roles/install/tasks/servicegateway.yml
roles/install/tasks/wdchat-mongodb.yml
roles/install/tasks/wdchat-postgres.yml
roles/install/tasks/admin.yml
View file @
a7c1d12
-
name
:
Stop All Service
shell
:
/opt/stack/script/ctlscript.sh stop
-
name
:
Remove Admin Wildfly if exist
file
:
state
:
absent
...
...
roles/install/tasks/dmamanager.yml
View file @
a7c1d12
-
name
:
Stop All Service
shell
:
/opt/stack/script/ctlscript.sh stop
-
name
:
Remove dmamanager DB if exist
file
:
state
:
absent
...
...
roles/install/tasks/main.yml
View file @
a7c1d12
...
...
@@ -8,6 +8,10 @@
-
{
owner
:
root
,
path
:
/opt/stack/dma/conf
}
-
{
owner
:
root
,
path
:
/home/chroot/wdftp
}
# First piority becuase it provide script to manage all service. DON'T CHANGE
-
import_tasks
:
system-management.yml
when
:
app_name == 'dma' or app_name == 'wdchat'
-
name
:
Install software stack based on Application Name
import_tasks
:
nginx.yml
when
:
app_name == 'dma' or app_name == 'wdchat'
...
...
@@ -33,6 +37,3 @@
-
import_tasks
:
servicegateway.yml
when
:
app_name == 'dma'
\ No newline at end of file
-
import_tasks
:
system-management.yml
when
:
app_name == 'dma' or app_name == 'wdchat'
\ No newline at end of file
roles/install/tasks/mqtt.yml
View file @
a7c1d12
-
name
:
Stop All Service
shell
:
/opt/stack/script/ctlscript.sh stop
-
name
:
Remove MQTT if exist
file
:
state
:
absent
...
...
roles/install/tasks/nginx.yml
View file @
a7c1d12
-
name
:
Stop All Service
shell
:
/opt/stack/script/ctlscript.sh stop
-
name
:
Remove Nginx if exist
file
:
state
:
absent
...
...
roles/install/tasks/runtime.yml
View file @
a7c1d12
-
name
:
Stop All Service
shell
:
/opt/stack/script/ctlscript.sh stop
-
name
:
Remove Runtime Wildfly if exist
file
:
state
:
absent
...
...
roles/install/tasks/servicegateway.yml
View file @
a7c1d12
-
name
:
Stop All Service
shell
:
/opt/stack/script/ctlscript.sh stop
-
name
:
Remove servicegateway DB if exist
file
:
state
:
absent
...
...
roles/install/tasks/wdchat-mongodb.yml
View file @
a7c1d12
-
name
:
Stop All Service
shell
:
/opt/stack/script/ctlscript.sh stop
-
name
:
Remove wdchat-mongo DB if exist
file
:
state
:
absent
...
...
roles/install/tasks/wdchat-postgres.yml
View file @
a7c1d12
-
name
:
Stop All Service
shell
:
/opt/stack/script/ctlscript.sh stop
-
name
:
Remove wdchat-postgres DB if exist
file
:
state
:
absent
...
...
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