matrix-ntfy: fix and separate out uninstall tasks

This commit is contained in:
Julian Foad
2022-07-04 14:51:55 +01:00
parent 408e2e9b4e
commit efe1f21f05
3 changed files with 45 additions and 36 deletions

View File

@ -4,7 +4,14 @@
tags:
- always
- import_tasks: "{{ role_path }}/tasks/setup.yml"
- import_tasks: "{{ role_path }}/tasks/setup_install.yml"
when: "run_setup|bool and matrix_ntfy_enabled|bool"
tags:
- setup-all
- setup-ntfy
- import_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
when: "run_setup|bool and not matrix_ntfy_enabled|bool"
tags:
- setup-all
- setup-ntfy