yamllint
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user