summaryrefslogtreecommitdiff
path: root/roles/auth
diff options
context:
space:
mode:
Diffstat (limited to 'roles/auth')
-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 }}