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
Dimitri Savineau 2019-12-16 11:03:21 -05:00 committed by Guillaume Abrioux
parent f4c261ef90
commit 2c06678cde
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