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.
 
 

49 lines
1.1 KiB

  1. - import_tasks: "{{ role_path }}/tasks/sanity_check.yml"
  2. tags:
  3. - always
  4. - import_tasks: "{{ role_path }}/tasks/validate_config.yml"
  5. when: "run_setup|bool"
  6. tags:
  7. - setup-all
  8. - import_tasks: "{{ role_path }}/tasks/clean_up_old_files.yml"
  9. when: run_setup|bool
  10. tags:
  11. - setup-all
  12. - import_tasks: "{{ role_path }}/tasks/server_base/setup.yml"
  13. when:
  14. - run_setup|bool
  15. - not matrix_skip_setup_server_base|bool
  16. tags:
  17. - setup-all
  18. # This needs to always run, because it populates `matrix_user_uid` and `matrix_user_gid`,
  19. # which are required by many other roles.
  20. - import_tasks: "{{ role_path }}/tasks/setup_matrix_user.yml"
  21. when: run_setup|bool
  22. tags:
  23. - always
  24. - setup-system-user
  25. - import_tasks: "{{ role_path }}/tasks/setup_matrix_base.yml"
  26. when: run_setup|bool
  27. tags:
  28. - setup-all
  29. - import_tasks: "{{ role_path }}/tasks/setup_well_known.yml"
  30. when: run_setup|bool
  31. tags:
  32. - setup-all
  33. - setup-ma1sd
  34. - setup-synapse
  35. - setup-nginx-proxy
  36. - import_tasks: "{{ role_path }}/tasks/self_check_dns.yml"
  37. delegate_to: 127.0.0.1
  38. become: false
  39. when: run_self_check|bool
  40. tags:
  41. - self-check