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 660bde73
authored
Dec 06, 2017
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
810cabf9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
93 deletions
deploy_inital_wdchat_postgresql_3041.yml
deploy_initial_mongo_db.yml
deploy_patch_psql_wdchat_wdauthen.yml
deploy_webgate_singletier_conf.yml
install_webgate.yml
deploy_inital_wdchat_postgresql_3041.yml
deleted
100644 → 0
View file @
810cabf
---
-
hosts
:
deployed-wdchat-dma, deploy-wdchat-dma-single-host
become
:
true
tasks
:
-
name
:
Patch WDCHAT 3.0.4.1_01
expect
:
command
:
/opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/configuration/pf_3041_01_create_seq_dma_message_id_seq.sql
responses
:
'
Password
for
user
wdchat'
:
'
BBRyAPNh6g4H9qte'
-
name
:
Patch WDCHAT 3.0.4.1_02
expect
:
command
:
/opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/configuration/pf_3041_02_create_seq_dma_message_user_rel_id_seq.sql
responses
:
'
Password
for
user
wdchat'
:
'
BBRyAPNh6g4H9qte'
-
name
:
Patch WDCHAT 3.0.4.1_03
expect
:
command
:
/opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/configuration/pf_3041_03_create_table_dma_message.sql
responses
:
'
Password
for
user
wdchat'
:
'
BBRyAPNh6g4H9qte'
-
name
:
Patch WDCHAT 3.0.4.1_04
expect
:
command
:
/opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/configuration/pf_3041_04_create_table_dma_message_user_rel.sql
responses
:
'
Password
for
user
wdchat'
:
'
BBRyAPNh6g4H9qte'
# update
\ No newline at end of file
deploy_initial_mongo_db.yml
View file @
660bde7
...
...
@@ -2,15 +2,9 @@
-
hosts
:
deployed-wdchat-dma, deploy-wdchat-dma-single-host
become
:
true
tasks
:
#- name: Insert Initial Data for WDCHAT 7017
# command: /tmp/source/mongo_7017.sh
-
name
:
Insert Initial Data for DMAMANAGER 7018
command
:
/tmp/configuration/update_dmamanager.sh
-
name
:
Insert Initial Data for SERVICEGATEWAY 7019
command
:
/tmp/configuration/update_servicegateway.sh
#- name: Insert Initial Data for DMAENGINE 7020
# command: /tmp/source/mongo_7020.sh
deploy_patch_psql_wdchat_wdauthen.yml
deleted
100644 → 0
View file @
810cabf
---
-
hosts
:
deployed-wdchat-dma, deploy-wdchat-dma-single-host
become
:
true
tasks
:
-
name
:
Patch WDCHAT 304 20171129
expect
:
command
:
/opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/configuration/Patch_304_20171128_psql_WDCHAT.sql
responses
:
'
Password
for
user
wdchat'
:
'
BBRyAPNh6g4H9qte'
-
name
:
Patch WDAUTHEN 304 20171129
expect
:
command
:
/opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdauthen -d WDAUTHEN -f /tmp/configuration/Patch_304_20171128_psql_WDAUTHEN.sql
responses
:
'
Password
for
user
wdauthen'
:
'
BBEcLWu5Cdzy3aeH'
# update
\ No newline at end of file
deploy_webgate_singletier_conf.yml
deleted
100644 → 0
View file @
810cabf
---
-
hosts
:
deployed-wdchat-dma
become
:
true
tasks
:
-
name
:
Extract File
command
:
tar -zxvf /tmp/source/webgate.3.0.4.tar.gz -C /tmp/source/
-
name
:
Backup current configuration
command
:
mv /opt/stack/nginx/conf /opt/stack/nginx/bkconf
-
name
:
Deploy new configuration
command
:
mv /tmp/source/conf /opt/stack/nginx/.
-
name
:
Delete backup configuration
command
:
rm -r /opt/stack/nginx/bkconf
-
hosts
:
deploy-wdchat-dma-single-host
become
:
true
tasks
:
-
name
:
Extract File
command
:
tar -zxvf /tmp/source/webgate.singlehost.conf.tar.gz -C /tmp/source/
-
name
:
Backup current configuration
command
:
mv /opt/stack/nginx/conf /opt/stack/nginx/bkconf
-
name
:
Deploy new configuration
command
:
mv /tmp/source/conf /opt/stack/nginx/.
-
name
:
Delete backup configuration
command
:
rm -r /opt/stack/nginx/bkconf
install_webgate.yml
View file @
660bde7
...
...
@@ -2,14 +2,12 @@
-
hosts
:
install-wdchat-dma-twohost
become
:
true
tasks
:
-
name
:
Extract File
command
:
tar -zxvf /tmp/source/webgate.3.0.4.tar.gz -C /tmp/source/
-
name
:
Backup current configuration
command
:
mv /opt/stack/nginx/conf /opt/stack/nginx/bkconf
-
name
:
Deploy new configuration
command
:
mv /tmp/source/conf /opt/stack/nginx/.
-
name
:
Delete backup configuration
command
:
rm -r /opt/stack/nginx/bkconf
-
name
:
Move NginX to Working Folder
command
:
cp /tmp/source/webgate.3.0.4.tar.gz /opt/stack/webgate.3.0.4.tar.gz
-
name
:
Extract NginX
command
:
tar -zxvf /opt/stack/webgate.3.0.4.tar.gz -C /opt/stack/
-
name
:
Delete File
command
:
rm /opt/stack/webgate.3.0.4.tar.gz
-
hosts
:
install-wdchat-dma
become
:
true
...
...
@@ -19,4 +17,14 @@
-
name
:
Extract NginX
command
:
tar -zxvf /opt/stack/webgate.singlehost.dma.plus.wdchat.conf.tar.gz -C /opt/stack/
-
name
:
Delete File
command
:
rm /opt/stack/webgate.singlehost.dma.plus.wdchat.conf.tar.gz
\ No newline at end of file
command
:
rm /opt/stack/webgate.singlehost.dma.plus.wdchat.conf.tar.gz
-
hosts
:
install-dma
become
:
true
tasks
:
-
name
:
Move NginX to Working Folder
command
:
cp /tmp/source/webgate.singlehost.dma.conf.tar.gz /opt/stack/webgate.singlehost.dma.conf.tar.gz
-
name
:
Extract NginX
command
:
tar -zxvf /opt/stack/webgate.singlehost.dma.conf.tar.gz -C /opt/stack/
-
name
:
Delete File
command
:
rm /opt/stack/webgate.singlehost.dma.conf.tar.gz
\ 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