matrix-docker-ansible-deploy/roles/custom/matrix-bridge-mx-puppet-slack/tasks/main.yml

22 lines
660 B
YAML
Raw Normal View History

---
- block:
- when: matrix_mx_puppet_slack_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/inject_into_nginx_proxy.yml"
2020-04-12 16:17:30 +02:00
tags:
- setup-all
- setup-nginx-proxy
2020-04-12 16:17:30 +02:00
- block:
- when: matrix_mx_puppet_slack_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
2020-04-12 16:17:30 +02:00
- when: matrix_mx_puppet_slack_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
2020-04-12 16:17:30 +02:00
- when: not matrix_mx_puppet_slack_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
2020-04-12 16:17:30 +02:00
tags:
- setup-all
- setup-mx-puppet-slack