Matrix Docker Ansible eploy
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

16 righe
611 B

  1. ---
  2. - name: Fail if Synapse metrics or Prometheus Node Exporter not enabled
  3. ansible.builtin.fail:
  4. msg: >
  5. You need to enable `matrix_prometheus_scraper_synapse_enabled` and/or `matrix_prometheus_scraper_node_enabled` for Prometheus grab metrics.
  6. when: "not matrix_prometheus_scraper_synapse_enabled and not matrix_prometheus_scraper_node_enabled"
  7. - name: Fail if required Prometheus settings not defined
  8. ansible.builtin.fail:
  9. msg: >
  10. You need to define a required configuration setting (`{{ item }}`).
  11. when: "vars[item] == ''"
  12. with_items:
  13. - matrix_prometheus_container_network