mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-31 02:41:36 +01:00 
			
		
		
		
	Update to 2022-12-19 01:00
This commit is contained in:
		| @@ -36,7 +36,6 @@ | ||||
|   template: src=jicofo/{{ item }}.j2 dest={{ jitsi_root_dir }}/etc/jicofo/{{ item }} group={{ jitsi_user }} mode=640 | ||||
|   loop: | ||||
|     - jicofo.conf | ||||
|     - sip-communicator.properties | ||||
|   notify: restart jitsi-jicofo | ||||
|   tags: jitsi | ||||
|  | ||||
|   | ||||
| @@ -1,8 +1,32 @@ | ||||
| # {{ ansible_managed }} | ||||
| JICOFO_HOST={{ jitsi_xmpp_server }} | ||||
| JICOFO_DOMAIN={{ jitsi_domain }} | ||||
| JICOFO_USER={{ jitsi_jicofo_xmpp_user }} | ||||
| JICOFO_USERDOMAIN={{ jitsi_auth_domain }} | ||||
| JICOFO_USER_PASS='{{ jitsi_jicofo_xmpp_pass }}' | ||||
| JICOFO_OPTS='' | ||||
| JAVA_SYS_PROPS="-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION={{ jitsi_root_dir }}/etc -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=jicofo" | ||||
| jicofo { | ||||
|  | ||||
|   authentication { | ||||
|     enabled = {{ (jitsi_auth == 'sso' or jitsi_auth == 'ldap') | ternary('true', 'false') }} | ||||
|     type = {{ (jitsi_auth == 'ldap') | ternary('XMPP', 'SHIBBOLETH') }} | ||||
|   } | ||||
|  | ||||
|   bridge { | ||||
|     brewery-jid = "JvbBrewery@internal.{{ jitsi_auth_domain }}" | ||||
|   } | ||||
|  | ||||
|   jibri { | ||||
|     brewery-jid = "JibriBrewery@internal.{{ jitsi_auth_domain }}" | ||||
|   } | ||||
|  | ||||
| {% if jitsi_jigasi %} | ||||
|   jigasi { | ||||
|     brewery-jid = "JigasiBrewery@internal.{{ jitsi_auth_domain }}" | ||||
|   } | ||||
| {% endif %} | ||||
|  | ||||
|   xmpp { | ||||
|     client { | ||||
|       domain = {{ jitsi_auth_domain }} | ||||
|       xmpp-domain = {{ jitsi_domain }} | ||||
|       username = {{ jitsi_jicofo_xmpp_user }} | ||||
|       password = "{{ jitsi_jicofo_xmpp_pass }}" | ||||
|       client-proxy = focus.{{ jitsi_domain }} | ||||
|     } | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -1,11 +0,0 @@ | ||||
| {% if jitsi_auth == 'sso' %} | ||||
| org.jitsi.jicofo.auth.URL=shibboleth:default | ||||
| {% elif jitsi_auth == 'ldap' %} | ||||
| org.jitsi.jicofo.auth.URL=XMPP:{{ jitsi_domain }} | ||||
| {% endif %} | ||||
| org.jitsi.jicofo.BRIDGE_MUC=JvbBrewery@internal.{{ jitsi_auth_domain }} | ||||
| {% if jitsi_jigasi %} | ||||
| org.jitsi.jicofo.jigasi.BREWERY=JigasiBrewery@internal.{{ jitsi_auth_domain }} | ||||
| {% endif %} | ||||
| org.jitsi.jicofo.jibri.BREWERY=JibriBrewery@internal.{{ jitsi_auth_domain }} | ||||
| org.jitsi.jicofo.jibri.PENDING_TIMEOUT=90 | ||||
| @@ -5,7 +5,6 @@ After=network.target | ||||
| [Service] | ||||
| Type=simple | ||||
| SuccessExitStatus=143 | ||||
| EnvironmentFile={{ jitsi_root_dir }}/etc/jicofo/jicofo.conf | ||||
| User={{ jitsi_user }} | ||||
| Group={{ jitsi_user }} | ||||
| PrivateTmp=true | ||||
| @@ -16,13 +15,8 @@ ReadOnlyDirectories={{ jitsi_root_dir }}/etc {{ jitsi_root_dir }}/jicofo | ||||
| Restart=on-failure | ||||
| StartLimitInterval=0 | ||||
| RestartSec=30 | ||||
| Environment=JAVA_SYS_PROPS=-Dconfig.file={{ jitsi_root_dir }}/etc/jicofo/jicofo.conf | ||||
| ExecStart=/opt/jitsi/jicofo/jicofo.sh \ | ||||
|             --host=${JICOFO_HOST} \ | ||||
|             --domain=${JICOFO_DOMAIN} \ | ||||
|             --secret=${JICOFO_SECRET} \ | ||||
|             --user_domain=${JICOFO_USERDOMAIN} \ | ||||
|             --user_name=${JICOFO_USER} \ | ||||
|             --user_password=${JICOFO_USER_PASS} \ | ||||
|             ${JICOFO_OPT} | ||||
| SyslogIdentifier=jicofo | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Berteaud
					Daniel Berteaud