Matrix Docker Ansible eploy
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

64 righe
1.7 KiB

  1. ---
  2. - block:
  3. - when: matrix_synapse_enabled | bool
  4. ansible.builtin.include_tasks: "{{ role_path }}/tasks/inject_into_nginx_proxy.yml"
  5. tags:
  6. - setup-all
  7. - setup-synapse
  8. - start
  9. - start-all
  10. - start-group
  11. - restart
  12. - restart-all
  13. - restart-group
  14. - stop
  15. - stop-all
  16. - stop-group
  17. - block:
  18. - when: matrix_synapse_enabled | bool
  19. ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
  20. - when: matrix_synapse_enabled | bool
  21. ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
  22. - when: not matrix_synapse_enabled | bool
  23. ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
  24. tags:
  25. - setup-all
  26. - setup-synapse
  27. - block:
  28. - when: matrix_synapse_enabled | bool
  29. ansible.builtin.include_tasks: "{{ role_path }}/tasks/import_media_store.yml"
  30. tags:
  31. - import-synapse-media-store
  32. - block:
  33. - when: matrix_synapse_enabled | bool
  34. ansible.builtin.include_tasks: "{{ role_path }}/tasks/register_user.yml"
  35. tags:
  36. - register-user
  37. - block:
  38. - when: matrix_synapse_enabled | bool
  39. ansible.builtin.include_tasks: "{{ role_path }}/tasks/update_user_password.yml"
  40. tags:
  41. - rust-synapse-compress-state
  42. - block:
  43. - when: matrix_synapse_enabled | bool
  44. ansible.builtin.include_tasks: "{{ role_path }}/tasks/rust-synapse-compress-state/main.yml"
  45. tags:
  46. - update-user-password
  47. - block:
  48. - when: matrix_synapse_enabled | bool
  49. ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_client_api.yml"
  50. - when: matrix_synapse_enabled | bool
  51. ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_federation_api.yml"
  52. tags:
  53. - self-check