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:
Jason Locklin 2019-05-23 15:02:44 -04:00
parent a8b633561d
commit 54a281a425
2 changed files with 0 additions and 16 deletions

View file

@ -2,12 +2,6 @@
tags: tags:
- always - 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" - import_tasks: "{{ role_path }}/tasks/setup_install.yml"
when: "run_setup|bool and matrix_mautrix_facebook_enabled|bool" when: "run_setup|bool and matrix_mautrix_facebook_enabled|bool"
tags: tags:

View file

@ -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"