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
Dimitri Savineau 2019-12-16 11:03:21 -05:00 committed by Dimitri Savineau
parent 27530b1d3f
commit af3c1b4c1a
1 changed files with 3 additions and 1 deletions

View File

@ -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