This commit is contained in:
Antoine Ouvrard
2021-05-04 17:27:25 +02:00
parent 5edcb56305
commit 2bc9af1308
14 changed files with 68 additions and 29 deletions
+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 }}"