From be5ad5eaee41e3386f9baa48929e62e6cbf68a24 Mon Sep 17 00:00:00 2001 From: Antoine Ouvrard Date: Tue, 20 Apr 2021 20:27:34 +0200 Subject: réorga spécific komuniki MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../file/visio.imio.be.svg | 1 + roles/jitsi-enable-specific-imio/tasks/main.yml | 21 ++++++++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 roles/jitsi-enable-specific-imio/file/visio.imio.be.svg (limited to 'roles/jitsi-enable-specific-imio') diff --git a/roles/jitsi-enable-specific-imio/file/visio.imio.be.svg b/roles/jitsi-enable-specific-imio/file/visio.imio.be.svg new file mode 100644 index 0000000..37b7060 --- /dev/null +++ b/roles/jitsi-enable-specific-imio/file/visio.imio.be.svg @@ -0,0 +1 @@ +IMIO_LOGO \ No newline at end of file diff --git a/roles/jitsi-enable-specific-imio/tasks/main.yml b/roles/jitsi-enable-specific-imio/tasks/main.yml index 9473861..981a477 100644 --- a/roles/jitsi-enable-specific-imio/tasks/main.yml +++ b/roles/jitsi-enable-specific-imio/tasks/main.yml @@ -63,4 +63,23 @@ } loop: "{{ jitsi_multidomain_domain }}" notify: - - reload nginx \ No newline at end of file + - reload nginx + +- name: copy du logo + copy: + src: '../file/{{ item[0] }}' + dest: '/usr/share/jitsi-meet/{{ item[1] }}' + owner: root + group: root + mode: '0644' + loop: + - [ 'visio.imio.be.svg' , 'images/' ] + +- name: Adaptation du js + lineinfile: + path: /usr/share/jitsi-meet/interface_config.js + regexp: '{{ item[0] }}' + line: '{{ item[1] }}' + loop: + - [ 'DEFAULT_LOGO_URL: ' , " DEFAULT_LOGO_URL: 'images/visio.imio.be.svg'," ] + - [ 'JITSI_WATERMARK_LINK: ' , " JITSI_WATERMARK_LINK: 'https://imio.be'," ] -- cgit v1.2.3