Separate matrix-ma1sd install/uninstall tasks

This commit is contained in:
Slavi Pantaleev
2020-12-14 16:57:51 +02:00
parent 7248eb3c11
commit 0ca48f3532
3 changed files with 48 additions and 53 deletions

View File

@ -8,7 +8,14 @@
- setup-all
- setup-ma1sd
- import_tasks: "{{ role_path }}/tasks/setup_ma1sd.yml"
- import_tasks: "{{ role_path }}/tasks/setup_install.yml"
when: "run_setup|bool and matrix_ma1sd_enabled|bool"
tags:
- setup-all
- setup-ma1sd
- import_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
when: "run_setup|bool and not matrix_ma1sd_enabled|bool"
tags:
- setup-all
- setup-ma1sd