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 fabdc73c
authored
Nov 21, 2017
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
98f2a013
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
9 deletions
deploy_customer_configuration.yml
deploy_inital_wdchat_postgresql_3041.yml
deploy_customer_configuration.yml
View file @
fabdc73
...
...
@@ -4,8 +4,12 @@
vars
:
dmapublishURL
:
'
publishUrl
=
https://tipeasy.dhipaya.co.th'
tasks
:
-
file
:
path
:
/opt/stack/dma/conf/dmaconfig.properties
state
:
touch
mode
:
0644
-
name
:
Update DMA publish URL
co
mmand
:
cat '{{ dmapublishURL }}' >
/opt/stack/dma/conf/dmaconfig.properties
co
py
:
content="{{ dmapublishURL }}" dest=
/opt/stack/dma/conf/dmaconfig.properties
-
hosts
:
blueprint
become
:
true
...
...
@@ -17,4 +21,10 @@
state
:
touch
mode
:
0644
-
name
:
Update DMA publish URL
copy
:
content="{{ dmapublishURL }}" dest=/opt/stack/dma/conf/dmaconfig.properties
\ No newline at end of file
copy
:
content="{{ dmapublishURL }}" dest=/opt/stack/dma/conf/dmaconfig.properties
-
name
:
Update New Domain
expect
:
command
:
/opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=postgres '
responses
:
'
Password
for
user
postgres'
:
'
password'
\ No newline at end of file
deploy_inital_wdchat_postgresql_3041.yml
View file @
fabdc73
...
...
@@ -14,16 +14,17 @@
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
_user_rel
.sql
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.sql
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'
\ No newline at end of file
'
Password
for
user
wdchat'
:
'
BBRyAPNh6g4H9qte'
# update
\ 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