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 ff20dfde
authored
Apr 25, 2018
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
7441ccef
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
37 additions
and
112 deletions
roles/install/tasks/admin.yml
roles/install/tasks/dmamanager.yml
roles/install/tasks/install_mqtt.yml
roles/install/tasks/main.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 @
ff20dfd
-
name
:
Install NginX
-
name
:
Install Admin Wildfly
unarchive
:
command
:
/tmp/source/bitnami-wildfly-10.1.0-1-linux-x64-installer.run --optionfile /tmp/configuration/admin.conf --mode unattended
src
:
/tmp/source/webgate.3.1.0.zip
-
name
:
Stop All Wildfly Stack
dest
:
/opt/stack
command
:
/opt/stack/admin/ctlscript.sh stop
remote_src
:
yes
-
name
:
Start Only Wildfly Service
group
:
nginx
command
:
/opt/stack/admin/ctlscript.sh start wildfly
owner
:
nginx
mode
:
0755
-
file
:
path
:
'
/opt/{{
item.dir
}}'
group
:
nginx
owner
:
nginx
mode
:
0755
state
:
directory
recurse
:
yes
with_items
:
-
{
dir
:
'
nginx'
}
roles/install/tasks/dmamanager.yml
View file @
ff20dfd
-
name
:
Install NginX
-
name
:
Install DMA Manager DB
unarchive
:
command
:
/tmp/source/bitnami-mongodb-3.4.4-0-linux-x64-installer.run --optionfile /tmp/configuration/dmamanager.conf --mode unattended
src
:
/tmp/source/webgate.3.1.0.zip
dest
:
/opt/stack
remote_src
:
yes
group
:
nginx
owner
:
nginx
mode
:
0755
-
file
:
path
:
'
/opt/{{
item.dir
}}'
group
:
nginx
owner
:
nginx
mode
:
0755
state
:
directory
recurse
:
yes
with_items
:
-
{
dir
:
'
nginx'
}
roles/install/tasks/install_mqtt.yml
0 → 100644
View file @
ff20dfd
-
name
:
Move MQTT to Working Folder
command
:
cp /tmp/source/message.3.0.2.tar.gz /opt/stack/message.3.0.2.tar.gz
-
name
:
Extract MQTT
command
:
tar -zxvf /opt/stack/message.3.0.2.tar.gz -C /opt/stack/
-
name
:
Delete File
command
:
rm /opt/stack/message.3.0.2.tar.gz
\ No newline at end of file
roles/install/tasks/main.yml
View file @
ff20dfd
-
name
:
Install software stack based on Application Name
-
name
:
Install software stack based on Application Name
import_tasks
:
wdchat-mongodb.yml
import_tasks
:
nginx.yml
when
:
app_name == 'dma'
when
:
app_name == 'dma' or app_name == 'wdchat'
-
import_tasks
:
wdchat-mongodb.yml
when
:
app_name == 'dma' or app_name == 'wdchat'
-
import_tasks
:
wdchat-postgres.yml
-
import_tasks
:
wdchat-postgres.yml
when
:
app_name == 'dma'
when
:
app_name == 'dma'
or app_name == 'wdchat'
-
import_tasks
:
mqtt.yml
-
import_tasks
:
mqtt.yml
when
:
app_name == 'dma'
when
:
app_name == 'dma'
or app_name == 'wdchat'
-
import_tasks
:
runtime.yml
-
import_tasks
:
runtime.yml
when
:
app_name == 'dma'
when
:
app_name == 'dma'
or app_name == 'wdchat'
-
import_tasks
:
admin.yml
-
import_tasks
:
admin.yml
when
:
app_name == 'dma'
when
:
app_name == 'dma'
or app_name == 'wdchat'
-
import_tasks
:
dmamanager.yml
-
import_tasks
:
dmamanager.yml
when
:
app_name == 'dma'
when
:
app_name == 'dma'
-
import_tasks
:
servicegateway.yml
-
import_tasks
:
servicegateway.yml
when
:
app_name == 'dma'
when
:
app_name == 'dma'
\ No newline at end of file
-
import_tasks
:
nginx.yml
when
:
app_name == 'dma'
\ No newline at end of file
roles/install/tasks/runtime.yml
View file @
ff20dfd
-
name
:
Install NginX
-
name
:
Install Runtime Wildfly
unarchive
:
command
:
/tmp/source/bitnami-wildfly-10.1.0-1-linux-x64-installer.run --optionfile /tmp/configuration/runtime.conf --mode unattended
src
:
/tmp/source/webgate.3.1.0.zip
-
name
:
Stop All Wildfly Stack
dest
:
/opt/stack
command
:
/opt/stack/runtime/ctlscript.sh stop
remote_src
:
yes
-
name
:
Start Only Wildfly Service
group
:
nginx
command
:
/opt/stack/runtime/ctlscript.sh start wildfly
owner
:
nginx
mode
:
0755
-
file
:
path
:
'
/opt/{{
item.dir
}}'
group
:
nginx
owner
:
nginx
mode
:
0755
state
:
directory
recurse
:
yes
with_items
:
-
{
dir
:
'
nginx'
}
roles/install/tasks/servicegateway.yml
View file @
ff20dfd
-
name
:
Install NginX
-
name
:
Install DMA Manager DB
unarchive
:
command
:
/tmp/source/bitnami-mongodb-3.4.4-0-linux-x64-installer.run --optionfile /tmp/configuration/servicegateway.conf --mode unattended
src
:
/tmp/source/webgate.3.1.0.zip
dest
:
/opt/stack
remote_src
:
yes
group
:
nginx
owner
:
nginx
mode
:
0755
-
file
:
path
:
'
/opt/{{
item.dir
}}'
group
:
nginx
owner
:
nginx
mode
:
0755
state
:
directory
recurse
:
yes
with_items
:
-
{
dir
:
'
nginx'
}
roles/install/tasks/wdchat-mongodb.yml
View file @
ff20dfd
-
name
:
Install NginX
-
name
:
Install WDCHAT DB
unarchive
:
command
:
/tmp/source/bitnami-mongodb-3.4.4-0-linux-x64-installer.run --optionfile /tmp/configuration/wdchat-mongo.conf --mode unattended
src
:
/tmp/source/webgate.3.1.0.zip
dest
:
/opt/stack
remote_src
:
yes
group
:
nginx
owner
:
nginx
mode
:
0755
-
file
:
path
:
'
/opt/{{
item.dir
}}'
group
:
nginx
owner
:
nginx
mode
:
0755
state
:
directory
recurse
:
yes
with_items
:
-
{
dir
:
'
nginx'
}
roles/install/tasks/wdchat-postgres.yml
View file @
ff20dfd
-
name
:
Install NginX
-
name
:
Install postgres software
unarchive
:
command
:
/tmp/source/bitnami-postgresql-9.6.2-0-linux-x64-installer.run --optionfile /tmp/configuration/wdchat-postgres.conf --mode unattended
src
:
/tmp/source/webgate.3.1.0.zip
dest
:
/opt/stack
remote_src
:
yes
group
:
nginx
owner
:
nginx
mode
:
0755
-
file
:
path
:
'
/opt/{{
item.dir
}}'
group
:
nginx
owner
:
nginx
mode
:
0755
state
:
directory
recurse
:
yes
with_items
:
-
{
dir
:
'
nginx'
}
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