mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-06 07:32:36 +00:00
c1c8b8e62c
We don't really need to fail in such a spectactular way, but it's probably good to do. It will only happen for people who are defining their own user/group id, which is rare. It seems like a good idea to tell them that this doesn't work as they expect anymore and to ask them to remove these variables, which otherwise give them a fake sense of hope. Related to #486 (Github Pull Request).
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
- import_tasks: "{{ role_path }}/tasks/sanity_check.yml"
|
|
tags:
|
|
- always
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
|
when: "run_setup|bool"
|
|
tags:
|
|
- setup-all
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/clean_up_old_files.yml"
|
|
when: run_setup|bool
|
|
tags:
|
|
- setup-all
|
|
|
|
- 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.
|
|
- import_tasks: "{{ role_path }}/tasks/setup_matrix_user.yml"
|
|
when: run_setup|bool
|
|
tags:
|
|
- always
|
|
- setup-system-user
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/setup_matrix_base.yml"
|
|
when: run_setup|bool
|
|
tags:
|
|
- setup-all
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/setup_well_known.yml"
|
|
when: run_setup|bool
|
|
tags:
|
|
- setup-all
|
|
- setup-ma1sd
|
|
- setup-synapse
|
|
- setup-nginx-proxy
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/self_check_dns.yml"
|
|
delegate_to: 127.0.0.1
|
|
become: false
|
|
when: run_self_check|bool
|
|
tags:
|
|
- self-check
|