summaryrefslogtreecommitdiff
path: root/roles/jitsi-enable-specific-komuniki/tasks/main.yml
blob: 66905a0c9635224ae4325ae36f6d610e461be8e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
# yamllint disable rule:line-length
- name: copy des fichiers de personnalisation de la page d'accueil de jitsi
  copy:
    src: '../file/{{ item[0] }}'
    dest: '/usr/share/jitsi-meet/{{ item[1] }}'
    owner: root
    group: root
    mode: '0644'
  loop:
    - ['body.html', '']
    - ['custom.css', 'css/']
    - ['favicon.ico', 'images/']
    - ['illustration-visio.png', 'images/']
    - ['logo-komuniki-txt.svg', 'images/']
    - ['logo-komuniki.svg', 'images/']
    - ['title.html', '']

- name: Adaptation du js
  lineinfile:
    path: /usr/share/jitsi-meet/interface_config.js
    regexp: '{{ item[0] }}'
    line: '{{ item[1] }}'
  loop:
    - ['APP_NAME: ', "    APP_NAME: 'Komuniki',"]
    - ['DEFAULT_LOGO_URL: ', "    DEFAULT_LOGO_URL: 'images/logo-komuniki.svg',"]
    - ['DEFAULT_WELCOME_PAGE_LOGO_URL: ', "    DEFAULT_WELCOME_PAGE_LOGO_URL: 'images/logo-komuniki-txt.svg',"]
    - ['JITSI_WATERMARK_LINK: ', "    JITSI_WATERMARK_LINK: 'https://komuniki.fr',"]
# yamllint enable rule:line-length