Fix Matrix Media Repo build
This commit is contained in:
parent
a181126cfc
commit
ac849f59c1
2 changed files with 3 additions and 4 deletions
|
@ -15,7 +15,8 @@
|
|||
name: '{{ matrix__media_repo__user }}'
|
||||
group: '{{ matrix__media_repo__group }}'
|
||||
system: true
|
||||
create_home: false
|
||||
create_home: true
|
||||
home: '{{ matrix__media_repo__lib_dir }}'
|
||||
notify: Load, enable and restart Matrix Media Repo
|
||||
|
||||
- name: Create Matrix Media Repo directories
|
||||
|
@ -62,7 +63,4 @@
|
|||
chdir: '{{ matrix__media_repo__src_dir }}'
|
||||
creates: '{{ matrix__media_repo__src_dir }}/bin/media_repo'
|
||||
cmd: '/bin/bash {{ matrix__media_repo__src_dir }}/build.sh'
|
||||
environment:
|
||||
GOPATH: '{{ matrix__media_repo__opt_dir }}/go'
|
||||
GOCACHE: '{{ matrix__media_repo__opt_dir }}/go-cache'
|
||||
notify: Load, enable and restart Matrix Media Repo
|
||||
|
|
|
@ -23,6 +23,7 @@ matrix__synapse__run_dir: '{{ matrix__run_dir }}/synapse'
|
|||
|
||||
matrix__media_repo__conf_dir: '{{ matrix__conf_dir }}/media_repo'
|
||||
matrix__media_repo__opt_dir: '{{ matrix__opt_dir }}/media_repo'
|
||||
matrix__media_repo__lib_dir: '{{ matrix__lib_dir }}/media_repo'
|
||||
|
||||
matrix__static__conf_dir: '{{ matrix__conf_dir }}/static'
|
||||
matrix__static__opt_dir: '{{ matrix__opt_dir }}/static'
|
||||
|
|
Reference in a new issue