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.
 
 

18 lines
395 B

  1. ---
  2. - tags:
  3. - setup-all
  4. - setup-mailer
  5. - install-all
  6. - install-mailer
  7. block:
  8. - when: matrix_mailer_enabled | bool
  9. ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
  10. - tags:
  11. - setup-all
  12. - setup-mailer
  13. block:
  14. - when: not matrix_mailer_enabled | bool
  15. ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"