Make the taiga hostname configurable.

This commit is contained in:
Ralph Bean 2015-10-04 01:22:30 +00:00
parent 18f8c91c12
commit a249bc0941
2 changed files with 6 additions and 4 deletions

View file

@ -158,8 +158,10 @@
chdir=/home/taiga/taiga-front-dist
tags: taiga
- copy: src=conf.json dest=/home/taiga/taiga-front-dist/dist/js/conf.json
mode=0644 owner=taiga group=taiga
- template:
src=conf.json
dest=/home/taiga/taiga-front-dist/dist/js/conf.json
mode=0644 owner=taiga group=taiga
tags: taiga
# Link our plugin pieces in place

View file

@ -1,6 +1,6 @@
{
"api": "http://taiga.cloud.fedoraproject.org/api/v1/",
"eventsUrl": "ws://taiga.cloud.fedoraproject.org/events",
"api": "http://{{inventory_hostname}}/api/v1/",
"eventsUrl": "ws://{{inventory_hostname}}/events",
"debug": true,
"publicRegisterEnabled": true,
"feedbackEnabled": true,