From 2e5c62c31c89d0e992c640576f3b184903c6bf65 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Tue, 14 Oct 2025 09:19:17 +0200 Subject: CI: Rework setup_disks.sh into Ansible role Change-Id: Icd8648399a7d0a74419c80d573792397f971ff3c Signed-off-by: Michal Nasiadka --- tests/run.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tests/run.yml') diff --git a/tests/run.yml b/tests/run.yml index e837470cf..08c7e4f40 100644 --- a/tests/run.yml +++ b/tests/run.yml @@ -35,12 +35,9 @@ name: "{{ 'bind-utils' if ansible_os_family == 'RedHat' else 'dnsutils' }}" when: scenario == 'magnum' - - name: Prepare disks for a storage service - script: "setup_disks.sh {{ disk_type }}" + - import_role: + name: kolla-ansible-setup-disks when: scenario in ['cephadm', 'zun'] - become: true - vars: - disk_type: "{{ 'ceph-lvm' if scenario in ['cephadm'] else scenario }}" - name: Update /etc/hosts with internal API FQDN blockinfile: -- cgit v1.2.3