ceph-ansible/roles/ceph-facts/tasks
Dimitri Savineau 2aeab882f3 ceph-facts: fix grafana group conversion
The conversion fact task was only executed when the grafana_server_group_name
variable was explicitly set in the user configuration. If an user was using
the default value then the conversion wasn't executed.

This also adds back the default grafana_server_group_name value in case user
was using the default value and to avoid undefined variable error.

Instead of hardcoding the "monitoring" group name then we can reuse the
monitoring_group_name variable.

There's no need to override the monitoring_group_name variable, it's either
using the default value or the one defined by the user.

Finally removing the delegate_to statement on the add_host task since it's
always executed on the ansible controller.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1903732

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2020-12-10 16:51:16 +01:00
..
container_binary.yml facts: isolate container_binary facts 2019-12-03 13:29:52 +01:00
convert_grafana_server_group_name.yml ceph-facts: fix grafana group conversion 2020-12-10 16:51:16 +01:00
facts.yml ceph-facts: fix read osd pool default crush fact 2020-11-18 12:55:43 -05:00
get_def_crush_rule_name.yml library: add ceph_crush_rule module 2020-12-01 17:52:41 +01:00
grafana.yml defaults: change default grafana-server name 2020-09-29 07:42:26 +02:00
main.yml ceph-facts: fix grafana group conversion 2020-12-10 16:51:16 +01:00
set_monitor_address.yml facts: fix typo 2020-03-23 14:03:52 -04:00
set_radosgw_address.yml facts: fix 'set_fact rgw_instances with rgw multisite' 2020-09-18 10:14:34 -04:00