matrix-docker-ansible-deploy/roles/custom/matrix-base/tasks/main.yml

38 lines
975 B
YAML
Raw Normal View History

---
2022-07-18 08:22:05 +00:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/sanity_check.yml"
2019-02-28 09:51:09 +00:00
tags:
- always
2022-07-18 08:22:05 +00:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/clean_up_old_files.yml"
when: run_setup | bool
tags:
- setup-all
2022-07-18 08:22:05 +00:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/server_base/setup.yml"
when: run_setup | bool
tags:
- setup-all
# This needs to always run, because it populates `matrix_user_uid` and `matrix_user_gid`,
# which are required by many other roles.
2022-07-18 08:22:05 +00:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_matrix_user.yml"
when: run_setup | bool
tags:
- always
- setup-system-user
2022-07-18 08:22:05 +00:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_matrix_base.yml"
when: run_setup | bool
tags:
- setup-all
2022-07-18 08:22:05 +00:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_well_known.yml"
when: run_setup | bool
tags:
- setup-all
- setup-ma1sd
- setup-synapse
- setup-dendrite
- setup-nginx-proxy