matrix-docker-ansible-deploy/roles/custom/matrix-pantalaimon/tasks/main.yml

21 lines
536 B
YAML
Raw Normal View History

---
- tags:
- setup-all
- setup-pantalaimon
- install-all
- install-pantalaimon
block:
- when: matrix_pantalaimon_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
- when: matrix_pantalaimon_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
- tags:
- setup-all
- setup-pantalaimon
block:
- when: not matrix_pantalaimon_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"