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 18da296d
authored
Nov 22, 2017
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit syntax to update wdchat publish url
1 parent
6a1014a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
deploy_customer_configuration.yml
deploy_customer_configuration.yml
View file @
18da296
...
...
@@ -15,6 +15,7 @@
become
:
true
vars
:
dmapublishURL
:
'
publishUrl
=
https://bpchat.beebuddy.net'
wdchatpublishURL
:
https://bpchat.beebuddy.net
tasks
:
-
file
:
path
:
/opt/stack/dma/conf/dmaconfig.properties
...
...
@@ -23,8 +24,8 @@
-
name
:
Update DMA publish URL
copy
:
content="{{ dmapublishURL }}" dest=/opt/stack/dma/conf/dmaconfig.properties
-
name
:
Update
New Domain
-
name
:
Update
publish_url
expect
:
command
:
/opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=
postgres '
command
:
/opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=
wdchat -d WDCHAT -c "update wd_sys_config set sys_value = '{{ wdchatpublishURL }}' where sys_group ='system' and sys_key = 'publish_url'"
responses
:
'
Password
for
user
postgres'
:
'
password'
\ No newline at end of file
'
Password
for
user
wdchat'
:
'
BBRyAPNh6g4H9qte'
\ 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