Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
813 B

  1. ---
  2. # A previous version of the worker setup used this.
  3. # This is a temporary cleanup for people who ran that version.
  4. - name: Ensure old matrix-synapse.service.wants directory is gone
  5. file:
  6. path: "{{ matrix_systemd_path }}/matrix-synapse.service.wants"
  7. state: absent
  8. # Same. This was part of a previous version of the worker setup.
  9. # No longer necessary.
  10. - name: Ensure matrix-synapse-worker-write-pid script is removed
  11. file:
  12. path: "{{ matrix_local_bin_path }}/matrix-synapse-worker-write-pid"
  13. state: absent
  14. - include_tasks: "{{ role_path }}/tasks/synapse/workers/setup_install.yml"
  15. when: "matrix_synapse_enabled|bool and matrix_synapse_workers_enabled|bool"
  16. - include_tasks: "{{ role_path }}/tasks/synapse/workers/setup_uninstall.yml"
  17. when: "not matrix_synapse_workers_enabled|bool"