summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorAntoine Ouvrard <antoine.ouvrard@nereide.fr>2020-04-03 13:46:05 +0200
committerAntoine Ouvrard <antoine.ouvrard@nereide.fr>2020-04-03 13:46:05 +0200
commitee820587b48ae9c5a48200649cc69aa4a32806e4 (patch)
tree08cacbcc4f33ae251f373329f735db0e91934810 /roles
parenta6fa584a39b409da9cf86cc433db1fb14d0afb46 (diff)
WIP - ajout de la configuration de l'authentification jitsi
Diffstat (limited to 'roles')
-rw-r--r--roles/auth/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
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 }}