cephadm-adopt: add grafana group conversion

The grafana group conversion task wasn't present in the cephadm-adopt.yml
playbook.

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

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
pull/6200/head v6.0.0alpha6
Dimitri Savineau 2021-01-18 12:15:04 -05:00 committed by Guillaume Abrioux
parent 4af0845702
commit 13427eddac
1 changed files with 5 additions and 0 deletions

View File

@ -75,6 +75,11 @@
name: ceph-facts
tasks_from: container_binary.yml
- import_role:
name: ceph-facts
tasks_from: convert_grafana_server_group_name.yml
when: groups.get((grafana_server_group_name|default('grafana-server')), []) | length > 0
- name: get the ceph version
command: "{{ container_binary + ' run --rm --entrypoint=ceph ' + ceph_docker_registry + '/' + ceph_docker_image + ':' + ceph_docker_image_tag if containerized_deployment | bool else 'ceph' }} --version"
changed_when: false