---

- import_tasks: "{{ role_path }}/tasks/ext/synapse-simple-antispam/setup_install.yml"
  when: matrix_synapse_ext_spam_checker_synapse_simple_antispam_enabled|bool

- import_tasks: "{{ role_path }}/tasks/ext/synapse-simple-antispam/setup_uninstall.yml"
  when: "not matrix_synapse_ext_spam_checker_synapse_simple_antispam_enabled|bool"