30f1034767
The variable was necessary when multiple playbooks could have potentially tried to manage a shared `devture-traefik.serivce` systemd service and shared `/devture-traefik` directory. Since adcc6d9723086f65f1a72, we use our own `/matrix/traefik` (`matrix-traefik.service`) installation and no conflicts can arise. It's safe to always enable the role, just like we do with all the other roles.
23 lines
508 B
YAML
23 lines
508 B
YAML
---
|
|
|
|
- block:
|
|
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
|
tags:
|
|
- setup-all
|
|
- install-all
|
|
|
|
- block:
|
|
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/cleanup_usr_local_bin.yml"
|
|
tags:
|
|
- setup-all
|
|
- install-all
|
|
|
|
- when: devture_traefik_enabled | bool
|
|
block:
|
|
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/devture_traefik_to_matrix_traefik.yml"
|
|
tags:
|
|
- setup-all
|
|
- install-all
|
|
- setup-traefik
|
|
- install-traefik
|