Switch from grafana_container_additional_networks to grafana_container_additional_networks_auto
This commit is contained in:
parent
a91f14ee0d
commit
674658039e
@ -4381,10 +4381,10 @@ grafana_base_path: "{{ matrix_base_data_path }}/grafana"
|
|||||||
|
|
||||||
grafana_container_network: "{{ matrix_monitoring_container_network }}"
|
grafana_container_network: "{{ matrix_monitoring_container_network }}"
|
||||||
|
|
||||||
grafana_container_additional_networks: |
|
grafana_container_additional_networks_auto: |
|
||||||
{{
|
{{
|
||||||
(
|
(
|
||||||
([matrix_playbook_reverse_proxyable_services_additional_network] if matrix_playbook_reverse_proxyable_services_additional_network else [])
|
([matrix_playbook_reverse_proxyable_services_additional_network] if matrix_playbook_reverse_proxyable_services_additional_network and grafana_container_labels_traefik_enabled else [])
|
||||||
+
|
+
|
||||||
([prometheus_container_network] if prometheus_enabled and prometheus_container_network != grafana_container_network else [])
|
([prometheus_container_network] if prometheus_enabled and prometheus_container_network != grafana_container_network else [])
|
||||||
) | unique
|
) | unique
|
||||||
|
Loading…
Reference in New Issue
Block a user