mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-11-04 09:08:56 +01:00 
			
		
		
		
	Config validation not required
Validate_config was copied from the telegram bridge code, but doesn't apply to the facebook bridge.
This commit is contained in:
		@@ -2,12 +2,6 @@
 | 
			
		||||
  tags:
 | 
			
		||||
    - always
 | 
			
		||||
 | 
			
		||||
- import_tasks: "{{ role_path }}/tasks/validate_config.yml"
 | 
			
		||||
  when: "run_setup|bool and matrix_mautrix_facebook_enabled|bool"
 | 
			
		||||
  tags:
 | 
			
		||||
    - setup-all
 | 
			
		||||
    - setup-mautrix-facebook
 | 
			
		||||
 | 
			
		||||
- import_tasks: "{{ role_path }}/tasks/setup_install.yml"
 | 
			
		||||
  when: "run_setup|bool and matrix_mautrix_facebook_enabled|bool"
 | 
			
		||||
  tags:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +0,0 @@
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
- name: Fail if required settings not defined
 | 
			
		||||
  fail:
 | 
			
		||||
    msg: >-
 | 
			
		||||
      You need to define a required configuration setting (`{{ item }}`).
 | 
			
		||||
  when: "vars[item] == ''"
 | 
			
		||||
  with_items:
 | 
			
		||||
    - "matrix_mautrix_facebook_api_id"
 | 
			
		||||
    - "matrix_mautrix_facebook_api_hash"
 | 
			
		||||
		Reference in New Issue
	
	Block a user