diff options
| author | Antoine Ouvrard <antoine.ouvrard@nereide.fr> | 2020-04-20 21:00:38 +0200 |
|---|---|---|
| committer | Antoine Ouvrard <antoine.ouvrard@nereide.fr> | 2020-04-20 21:00:38 +0200 |
| commit | dd883c8c1aa13766525d8f1466a574f627d61829 (patch) | |
| tree | fb05e15c2e75ce856c9f5c27e372060f02b19532 /roles/auth/tasks/main.yml | |
| parent | 465876051e22fb7f986ff4ab7329c741382857bf (diff) | |
Resolve "execution des roles plus flexible"
Diffstat (limited to 'roles/auth/tasks/main.yml')
| -rw-r--r-- | roles/auth/tasks/main.yml | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/roles/auth/tasks/main.yml b/roles/auth/tasks/main.yml deleted file mode 100644 index a68ace4..0000000 --- a/roles/auth/tasks/main.yml +++ /dev/null @@ -1,50 +0,0 @@ ---- -- name: Conf Jitsi - Activation de l'authentification prosody 1/2 - replace: - path: /etc/prosody/conf.d/{{ inventory_hostname }}.cfg.lua - regexp: 'authentication = "anonymous"' - replace: 'authentication = "internal_plain"' - notify: - - restart prosody - - restart jitsi-videobridge2 - - restart jicofo - -- name: Conf Jitsi - Activation de l'authentification prosody 2/2 - blockinfile: - path: /etc/prosody/conf.d/{{ inventory_hostname }}.cfg.lua - marker: "-- {mark} ANSIBLE MANAGED BLOCK" - block: | - VirtualHost "guest.{{ inventory_hostname }}" - authentication = "anonymous" - c2s_require_encryption = false - notify: - - restart prosody - - restart jitsi-videobridge2 - - restart jicofo - -- name: Conf Jitsi - Activation de l'authentification jitsi - lineinfile: - path: /etc/jitsi/meet/{{ inventory_hostname }}-config.js - insertafter: "[^?]// anonymousdomain: 'guest.example.com'" - line: " anonymousdomain: 'guest.{{ inventory_hostname }}'," - notify: - - restart prosody - - restart jitsi-videobridge2 - - restart jicofo - -- name: Conf Jitsi - Activation de l'authentification jicofo - lineinfile: - path: /etc/jitsi/jicofo/sip-communicator.properties - insertafter: "^org.jitsi.jicofo.BRIDGE_MUC=*" - line: "org.jitsi.jicofo.auth.URL=XMPP:{{ inventory_hostname }}" - notify: - - restart prosody - - restart jitsi-videobridge2 - - restart jicofo - -- name: Conf Jitsi - Création de l'utilisateur prosody - command: prosodyctl register {{ jitsi_user }} {{ inventory_hostname }} {{ jitsi_pass }} - notify: - - restart prosody - - restart jitsi-videobridge2 - - restart jicofo |
