Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
535 B

  1. ---
  2. - block:
  3. - when: matrix_ntfy_enabled | bool
  4. ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
  5. tags:
  6. - setup-all
  7. - setup-ntfy
  8. - install-all
  9. - install-ntfy
  10. - block:
  11. - when: not matrix_ntfy_enabled | bool
  12. ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
  13. tags:
  14. - setup-all
  15. - setup-ntfy
  16. - block:
  17. - when: matrix_ntfy_enabled | bool
  18. ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check.yml"
  19. tags:
  20. - self-check