mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-30 23:07:57 +01:00 
			
		
		
		
	* Update docs/configuring-playbook-turn.md: add a section for description about installing Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org> * Update docs/configuring-playbook-turn.md and a related file - Edit the introducion based on docs/configuring-playbook-client-element-web.md - Adopt the commont format by creating the section "Adjusting the playbook configuration" - Add the section "Extending the configuration" - Move the section "Disabling Coturn" to the bottom Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org> * Fix capitalization: Coturn → coturn See: https://github.com/coturn/coturn. Note that "coturn" is not capitalized even on the start of a sentence, except some rare cases like on the releases page: https://github.com/coturn/coturn/releases Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org> --------- Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org> Co-authored-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
		
			
				
	
	
		
			27 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| 
 | |
| - name: (Deprecation) Catch and report renamed coturn settings
 | |
|   ansible.builtin.fail:
 | |
|     msg: >-
 | |
|       Your configuration contains a variable, which now has a different name.
 | |
|       Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
 | |
|   when: "item.old in vars"
 | |
|   with_items:
 | |
|     - {'old': 'matrix_coturn_docker_network', 'new': 'matrix_coturn_container_network'}
 | |
| 
 | |
| - name: Fail if matrix_coturn_authentication_method is invalid
 | |
|   ansible.builtin.fail:
 | |
|     msg: >-
 | |
|       Invalid authentication method specified in `matrix_coturn_authentication_method`
 | |
|   when: "matrix_coturn_authentication_method not in ['auth-secret', 'lt-cred-mech']"
 | |
| 
 | |
| - name: Fail if required coturn settings not defined
 | |
|   ansible.builtin.fail:
 | |
|     msg: >-
 | |
|       You need to define a required configuration setting (`{{ item.name }}`).
 | |
|   when: "item.when | bool and vars[item.name] == ''"
 | |
|   with_items:
 | |
|     - {'name': 'matrix_coturn_turn_static_auth_secret', when: "{{ matrix_coturn_authentication_method == 'auth-secret' }}"}
 | |
|     - {'name': 'matrix_coturn_lt_cred_mech_username', when: "{{ matrix_coturn_authentication_method == 'lt-cred-mech' }}"}
 | |
|     - {'name': 'matrix_coturn_lt_cred_mech_password', when: "{{ matrix_coturn_authentication_method == 'lt-cred-mech' }}"}
 |