This commit is contained in:
Antoine Ouvrard committed 2021-05-04 17:27:25 +02:00
1 parent 5edcb56305
commit 2bc9af1308
14 files changed
+68 -29

No files matched your search

+4
View File
@@ -20,16 +20,20 @@
- restart prosody
- name: utilisateur jibri pour prosody (auth)
# yamllint disable-line rule:line-length
command: prosodyctl register {{ item.user }} auth.{{ inventory_hostname }} {{ item.password }}
args:
# Prosody remplace les points par des '%2e' dans le chemin du fichier
# yamllint disable-line rule:line-length
creates: /var/lib/prosody/{{ 'auth%2e'+inventory_hostname | replace('.', '%2e') }}/accounts/{{ item.user }}.dat
loop: "{{ jibri_users }}"
- name: utilisateur jibri pour prosody (recorder)
# yamllint disable-line rule:line-length
command: prosodyctl register {{ item.user }}-record recorder.{{ inventory_hostname }} {{ item.password }}
args:
# Prosody remplace les points par des '%2e' dans le chemin du fichier
# yamllint disable-line rule:line-length
creates: /var/lib/prosody/{{ 'auth%2e'+inventory_hostname | replace('.', '%2e') }}/accounts/{{ item.user }}.dat
loop: "{{ jibri_users }}"