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>pull/4877/head
parent
f4c261ef90
commit
2c06678cde
|
@ -52,4 +52,6 @@
|
|||
permanent: true
|
||||
immediate: true
|
||||
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