remise en forme
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
- hosts: pp.visio.nereide.fr
|
- hosts: pp.visio.nereide.fr
|
||||||
roles:
|
roles:
|
||||||
- role: common
|
- role: common
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
- name: Conf Jitsi - Activation de l'authentification prosody 1/2
|
- name: Conf Jitsi - Activation de l'authentification prosody 1/2
|
||||||
replace:
|
replace:
|
||||||
path: /etc/prosody/conf.d/{{ inventory_hostname }}.cfg.lua
|
path: /etc/prosody/conf.d/{{ inventory_hostname }}.cfg.lua
|
||||||
|
|||||||
@@ -1,39 +1,49 @@
|
|||||||
|
---
|
||||||
- name: Ajout de la clé GPG pour le depot jitsi
|
- name: Ajout de la clé GPG pour le depot jitsi
|
||||||
apt_key:
|
apt_key:
|
||||||
url: https://download.jitsi.org/jitsi-key.gpg.key
|
url: https://download.jitsi.org/jitsi-key.gpg.key
|
||||||
|
|
||||||
- name: Ajout du depot jitsi
|
- name: Ajout du depot jitsi
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: deb https://download.jitsi.org stable/
|
repo: deb https://download.jitsi.org stable/
|
||||||
|
|
||||||
- name: apt update
|
- name: apt update
|
||||||
apt:
|
apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
|
||||||
- name: Application du hostname avant installation
|
- name: Application du hostname avant installation
|
||||||
debconf:
|
debconf:
|
||||||
name: jitsi-meet-web-config
|
name: jitsi-meet-web-config
|
||||||
question: jitsi-videobridge/jvb-hostname
|
question: jitsi-videobridge/jvb-hostname
|
||||||
value: '{{ inventory_hostname }}'
|
value: '{{ inventory_hostname }}'
|
||||||
vtype: string
|
vtype: string
|
||||||
|
|
||||||
- name: On veut un certificat autogénéré
|
- name: On veut un certificat autogénéré
|
||||||
debconf:
|
debconf:
|
||||||
name: jitsi-meet-web-config
|
name: jitsi-meet-web-config
|
||||||
question: jitsi-meet/cert-choice
|
question: jitsi-meet/cert-choice
|
||||||
value: "Generate a new self-signed certificate (You will later get a chance to obtain a Let's encrypt certificate)"
|
value: "Generate a new self-signed certificate (You will later get a chance to obtain a Let's encrypt certificate)"
|
||||||
vtype: string
|
vtype: string
|
||||||
|
|
||||||
- name: installation de jitsi
|
- name: installation de jitsi
|
||||||
apt:
|
apt:
|
||||||
name: jitsi-meet
|
name: jitsi-meet
|
||||||
|
|
||||||
- name: Configuration de let's encrypt
|
- name: Configuration de let's encrypt
|
||||||
script: files/jitsi-letsencrypt.sh > jitsi-letsencrypt.log
|
script: files/jitsi-letsencrypt.sh > jitsi-letsencrypt.log
|
||||||
|
|
||||||
- name: Conf Jitsi - UI en fr
|
- name: Conf Jitsi - UI en fr
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/jitsi/meet/{{ inventory_hostname }}-config.js
|
path: /etc/jitsi/meet/{{ inventory_hostname }}-config.js
|
||||||
insertafter: "[^?]// defaultLanguage: 'en'"
|
insertafter: "[^?]// defaultLanguage: 'en'"
|
||||||
line: " defaultLanguage: 'fr',"
|
line: " defaultLanguage: 'fr',"
|
||||||
|
|
||||||
- name: Conf Jitsi - webcam en qualité medium par defaut 1/2
|
- name: Conf Jitsi - webcam en qualité medium par defaut 1/2
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/jitsi/meet/{{ inventory_hostname }}-config.js
|
path: /etc/jitsi/meet/{{ inventory_hostname }}-config.js
|
||||||
insertafter: "[^?]// resolution: 720"
|
insertafter: "[^?]// resolution: 720"
|
||||||
line: " resolution: 360,"
|
line: " resolution: 360,"
|
||||||
|
|
||||||
- name: Conf Jitsi - webcam en qualité medium par defaut 2/2
|
- name: Conf Jitsi - webcam en qualité medium par defaut 2/2
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/jitsi/meet/{{ inventory_hostname }}-config.js
|
path: /etc/jitsi/meet/{{ inventory_hostname }}-config.js
|
||||||
@@ -50,11 +60,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
- name: Conf Jitsi - Désactive l'effet floutage d'arrière plan
|
- name: Conf Jitsi - Désactive l'effet floutage d'arrière plan
|
||||||
replace:
|
replace:
|
||||||
path: /usr/share/jitsi-meet/interface_config.js
|
path: /usr/share/jitsi-meet/interface_config.js
|
||||||
regexp: "'videobackgroundblur',"
|
regexp: "'videobackgroundblur',"
|
||||||
replace: ""
|
replace: ""
|
||||||
|
|
||||||
- name: Conf Jitsi - Active une alerte pour les utilisateurs de Firefox
|
- name: Conf Jitsi - Active une alerte pour les utilisateurs de Firefox
|
||||||
replace:
|
replace:
|
||||||
path: /usr/share/jitsi-meet/interface_config.js
|
path: /usr/share/jitsi-meet/interface_config.js
|
||||||
|
|||||||
Reference in New Issue
Block a user