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.
 
 

27 lines
831 B

  1. ---
  2. - block:
  3. - when: matrix_prometheus_postgres_exporter_enabled | bool and matrix_prometheus_postgres_exporter_metrics_proxying_enabled | bool
  4. ansible.builtin.include_tasks: "{{ role_path }}/tasks/inject_into_nginx_proxy.yml"
  5. tags:
  6. - setup-all
  7. - setup-nginx-proxy
  8. - install-all
  9. - install-nginx-proxy
  10. - block:
  11. - when: matrix_prometheus_postgres_exporter_enabled | bool
  12. ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
  13. tags:
  14. - setup-all
  15. - setup-prometheus-postgres-exporter
  16. - install-all
  17. - install-prometheus-postgres-exporter
  18. - block:
  19. - when: not matrix_prometheus_postgres_exporter_enabled | bool
  20. ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
  21. tags:
  22. - setup-all
  23. - setup-prometheus-postgres-exporter