mirror of
https://github.com/GeekOops/geekoops-grafana.git
synced 2024-05-19 12:12:20 +00:00
Open InfluxDB port only if InfluxDB is enabled
This commit is contained in:
parent
89cd34adad
commit
54f3b1e39f
|
@ -39,6 +39,6 @@
|
|||
port: "{{influxdb_collectd_port}}/udp"
|
||||
permanent: true
|
||||
state: enabled
|
||||
when: config_firewall and open_collectd_port
|
||||
when: config_firewall and influxdb_collectd and open_collectd_port
|
||||
notify: reload firewalld
|
||||
tags: ['influxdb', 'firewalld']
|
||||
|
|
Loading…
Reference in a new issue