Matrix Docker Ansible eploy
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

15 řádky
937 B

  1. ---
  2. - name: Fail if required matrix-alertmanager-receiver settings not defined
  3. ansible.builtin.fail:
  4. msg: >
  5. You need to define a required configuration setting (`{{ item.name }}`).
  6. when: "item.when | bool and vars[item.name] == ''"
  7. with_items:
  8. - {'name': 'matrix_alertmanager_receiver_hostname', when: true}
  9. - {'name': 'matrix_alertmanager_receiver_path_prefix', when: true}
  10. - {'name': 'matrix_alertmanager_receiver_config_matrix_homeserver_url', when: true}
  11. - {'name': 'matrix_alertmanager_receiver_config_matrix_access_token', when: true}
  12. - {'name': 'matrix_alertmanager_receiver_container_network', when: true}
  13. - {'name': 'matrix_alertmanager_receiver_metrics_proxying_hostname', when: "{{ matrix_alertmanager_receiver_metrics_proxying_enabled }}"}
  14. - {'name': 'matrix_alertmanager_receiver_metrics_proxying_path_prefix', when: "{{ matrix_alertmanager_receiver_metrics_proxying_enabled }}"}