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.
 
 

43 lines
1.1 KiB

  1. ---
  2. - ansible.builtin.import_tasks: "{{ role_path }}/tasks/init.yml"
  3. tags:
  4. - always
  5. - ansible.builtin.import_tasks: "{{ role_path }}/tasks/validate_config.yml"
  6. when: run_setup | bool
  7. tags:
  8. - setup-all
  9. - setup-dendrite
  10. - ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_dendrite.yml"
  11. when: run_setup | bool
  12. tags:
  13. - setup-all
  14. - setup-dendrite
  15. - ansible.builtin.import_tasks: "{{ role_path }}/tasks/register_user.yml"
  16. when: run_dendrite_register_user | bool and matrix_dendrite_enabled | bool
  17. tags:
  18. - register-user
  19. - ansible.builtin.import_tasks: "{{ role_path }}/tasks/self_check_client_api.yml"
  20. delegate_to: 127.0.0.1
  21. become: false
  22. when: run_self_check | bool and matrix_dendrite_enabled | bool
  23. tags:
  24. - self-check
  25. - ansible.builtin.import_tasks: "{{ role_path }}/tasks/self_check_federation_api.yml"
  26. delegate_to: 127.0.0.1
  27. become: false
  28. when: run_self_check | bool and matrix_dendrite_enabled | bool
  29. tags:
  30. - self-check
  31. - name: Mark matrix-dendrite role as executed
  32. ansible.builtin.set_fact:
  33. matrix_dendrite_role_executed: true
  34. tags:
  35. - always