|
|
|
@ -33,7 +33,7 @@ |
|
|
|
|
- name: Clone jicofo repo |
|
|
|
|
git: |
|
|
|
|
repo: "{{ jitsi_jicofo_git_url }}" |
|
|
|
|
dest: "{{ jitsi_root_dir }}/tmp/jicofo" |
|
|
|
|
dest: "{{ jitsi_root_dir }}/src/jicofo" |
|
|
|
|
force: True |
|
|
|
|
become_user: "{{ jitsi_user }}" |
|
|
|
|
register: jitsi_jicofo_git |
|
|
|
@ -44,12 +44,12 @@ |
|
|
|
|
- name: Build jicofo |
|
|
|
|
command: /opt/maven/apache-maven/bin/mvn package -DskipTests -Dassembly.skipAssembly=false |
|
|
|
|
args: |
|
|
|
|
chdir: "{{ jitsi_root_dir }}/tmp/jicofo" |
|
|
|
|
chdir: "{{ jitsi_root_dir }}/src/jicofo" |
|
|
|
|
become_user: "{{ jitsi_user }}" |
|
|
|
|
|
|
|
|
|
- name: Extract jicofo archive |
|
|
|
|
unarchive: |
|
|
|
|
src: "{{ jitsi_root_dir }}/tmp/jicofo/target/jicofo-1.1-SNAPSHOT-archive.zip" |
|
|
|
|
src: "{{ jitsi_root_dir }}/src/jicofo/target/jicofo-1.1-SNAPSHOT-archive.zip" |
|
|
|
|
dest: "{{ jitsi_root_dir }}/tmp/" |
|
|
|
|
remote_src: True |
|
|
|
|
|
|
|
|
@ -67,7 +67,7 @@ |
|
|
|
|
- name: Clone jigasi repo |
|
|
|
|
git: |
|
|
|
|
repo: "{{ jitsi_jigasi_git_url }}" |
|
|
|
|
dest: "{{ jitsi_root_dir }}/tmp/jigasi" |
|
|
|
|
dest: "{{ jitsi_root_dir }}/src/jigasi" |
|
|
|
|
force: True |
|
|
|
|
become_user: "{{ jitsi_user }}" |
|
|
|
|
register: jitsi_jigasi_git |
|
|
|
@ -78,12 +78,12 @@ |
|
|
|
|
- name: Build jigasi |
|
|
|
|
command: /opt/maven/apache-maven/bin/mvn package -DskipTests -Dassembly.skipAssembly=false |
|
|
|
|
args: |
|
|
|
|
chdir: "{{ jitsi_root_dir }}/tmp/jigasi" |
|
|
|
|
chdir: "{{ jitsi_root_dir }}/src/jigasi" |
|
|
|
|
become_user: "{{ jitsi_user }}" |
|
|
|
|
|
|
|
|
|
- name: Extract jigasi archive |
|
|
|
|
unarchive: |
|
|
|
|
src: "{{ jitsi_root_dir }}/tmp/jigasi/target/jigasi-linux-x64-1.1-SNAPSHOT.zip" |
|
|
|
|
src: "{{ jitsi_root_dir }}/src/jigasi/target/jigasi-linux-x64-1.1-SNAPSHOT.zip" |
|
|
|
|
dest: "{{ jitsi_root_dir }}/tmp/" |
|
|
|
|
remote_src: True |
|
|
|
|
|
|
|
|
@ -122,7 +122,7 @@ |
|
|
|
|
- name: Clone jitsi meet |
|
|
|
|
git: |
|
|
|
|
repo: "{{ jitsi_meet_git_url }}" |
|
|
|
|
dest: "{{ jitsi_root_dir }}/tmp/meet" |
|
|
|
|
dest: "{{ jitsi_root_dir }}/src/meet" |
|
|
|
|
force: True |
|
|
|
|
register: jitsi_meet_git |
|
|
|
|
become_user: "{{ jitsi_user }}" |
|
|
|
@ -132,13 +132,13 @@ |
|
|
|
|
tags: jitsi |
|
|
|
|
block: |
|
|
|
|
- name: Install jitsi meet node dependencies |
|
|
|
|
npm: path={{ jitsi_root_dir }}/tmp/meet |
|
|
|
|
npm: path={{ jitsi_root_dir }}/src/meet |
|
|
|
|
become_user: "{{ jitsi_user }}" |
|
|
|
|
|
|
|
|
|
- name: Build jitsi meet |
|
|
|
|
command: make |
|
|
|
|
args: |
|
|
|
|
chdir: "{{ jitsi_root_dir }}/tmp/meet" |
|
|
|
|
chdir: "{{ jitsi_root_dir }}/src/meet" |
|
|
|
|
become_user: "{{ jitsi_user }}" |
|
|
|
|
|
|
|
|
|
- name: Deploy new jitsi meet version |
|
|
|
@ -148,16 +148,7 @@ |
|
|
|
|
cp -r *.js *.html connection_optimization favicon.ico fonts images libs static sounds LICENSE lang {{ jitsi_root_dir }}/meet/ |
|
|
|
|
cp css/all.css {{ jitsi_root_dir }}/meet/css/ |
|
|
|
|
args: |
|
|
|
|
chdir: "{{ jitsi_root_dir }}/tmp/meet" |
|
|
|
|
|
|
|
|
|
- name: Install prosody plugins |
|
|
|
|
synchronize: |
|
|
|
|
src: "{{ jitsi_root_dir }}/tmp/meet/resources/prosody-plugins/" |
|
|
|
|
dest: "{{ jitsi_root_dir }}/prosody/" |
|
|
|
|
recursive: True |
|
|
|
|
delete: True |
|
|
|
|
delegate_to: "{{ inventory_hostname }}" |
|
|
|
|
notify: reload prosody |
|
|
|
|
chdir: "{{ jitsi_root_dir }}/src/meet" |
|
|
|
|
|
|
|
|
|
- name: Install dehydrated hook |
|
|
|
|
template: src=dehydrated_hook.sh.j2 dest=/etc/dehydrated/hooks_deploy_cert.d/jitsi.sh mode=755 |
|
|
|
|