mirror of https://github.com/ceph/ceph-ansible.git
ceph-infra: replace hardcoded grafana group name
The grafana-server group name was hardcoded for the grafana/prometheus
firewalld tasks condition.
We should we the associated variable : grafana_server_group_name
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 2c06678cde
)
pull/4900/head
parent
27530b1d3f
commit
af3c1b4c1a
|
@ -52,4 +52,6 @@
|
||||||
permanent: true
|
permanent: true
|
||||||
immediate: true
|
immediate: true
|
||||||
state: enabled
|
state: enabled
|
||||||
when: inventory_hostname in groups.get('grafana-server', [])
|
when:
|
||||||
|
- grafana_server_group_name is defined
|
||||||
|
- grafana_server_group_name in group_names
|
||||||
|
|
Loading…
Reference in New Issue