Split install/uninstall tasks in matrix-coturn

This commit is contained in:
Slavi Pantaleev
2021-01-14 22:11:38 +02:00
parent 57ea43d8b0
commit 6f5aaad48d
3 changed files with 60 additions and 59 deletions

View File

@@ -8,8 +8,14 @@
- setup-all
- setup-coturn
- import_tasks: "{{ role_path }}/tasks/setup_coturn.yml"
when: run_setup|bool
- import_tasks: "{{ role_path }}/tasks/setup_install.yml"
when: "run_setup|bool and matrix_coturn_enabled|bool"
tags:
- setup-all
- setup-coturn
- import_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
when: "run_setup|bool and not matrix_coturn_enabled|bool"
tags:
- setup-all
- setup-coturn