From ee820587b48ae9c5a48200649cc69aa4a32806e4 Mon Sep 17 00:00:00 2001 From: Antoine Ouvrard Date: Fri, 3 Apr 2020 13:46:05 +0200 Subject: WIP - ajout de la configuration de l'authentification jitsi --- roles/auth/tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 roles/auth/tasks/main.yml (limited to 'roles/auth') diff --git a/roles/auth/tasks/main.yml b/roles/auth/tasks/main.yml new file mode 100644 index 0000000..39adbb5 --- /dev/null +++ b/roles/auth/tasks/main.yml @@ -0,0 +1,9 @@ + +- name: Conf Jitsi - Activation de l'authentification prosody + replace: + path: /etc/prosody/conf.d/{{ inventory_hostname }}.cfg.lua + regexp: 'authentication = "anonymous"' + replace: 'authentication = "internal_plain"' + +- name: Conf Jitsi - Création de l'utilisateur prosody + shell: prosodyctl register {{ username }} {{ inventory_hostname }} {{ password }} -- cgit v1.2.3