tests: set rgw_instances in collect-logs.yml

in order to gather rgw logs, we need rgw_instances to be set.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit c2e46fe5a5)
pull/6930/head
Guillaume Abrioux 2021-09-30 11:32:12 +02:00
parent 7f6cb83f51
commit a4e979df09
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@
name: ceph-facts
tasks_from: container_binary.yml
- import_role:
name: ceph-facts
tasks_from: set_radosgw_address.yml
- name: set_fact ceph_cmd
set_fact:
ceph_cmd: "{{ container_binary + ' run --rm --net=host -v /etc/ceph:/etc/ceph:z -v /var/lib/ceph:/var/lib/ceph:z -v /var/run/ceph:/var/run/ceph:z --entrypoint=ceph ' + ceph_docker_registry + '/' + ceph_docker_image + ':' + ceph_docker_image_tag if containerized_deployment | bool else 'ceph' }}"