---

- import_tasks: "{{ role_path }}/tasks/ext/mjolnir-antispam/setup_install.yml"
  when: matrix_synapse_ext_spam_checker_mjolnir_antispam_enabled|bool

- import_tasks: "{{ role_path }}/tasks/ext/mjolnir-antispam/setup_uninstall.yml"
  when: "not matrix_synapse_ext_spam_checker_mjolnir_antispam_enabled|bool"