This is an automated email from the ASF dual-hosted git repository.

ssulav pushed a commit to branch HDDS-14668
in repository https://gitbox.apache.org/repos/asf/ozone-installer.git

commit 2aaccf77eeedaea472c0c2b64075c496dd3e8458
Author: Soumitra Sulav <[email protected]>
AuthorDate: Thu Feb 19 22:38:05 2026 +0530

    Fix multiple disk parsing
---
 roles/ozone_layout/tasks/main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/ozone_layout/tasks/main.yml 
b/roles/ozone_layout/tasks/main.yml
index 43981fb..43c5c44 100644
--- a/roles/ozone_layout/tasks/main.yml
+++ b/roles/ozone_layout/tasks/main.yml
@@ -21,7 +21,7 @@
     owner: "{{ service_user }}"
     group: "{{ service_group }}"
     mode: "0755"
-  loop: "{{ [install_base] + [d ~ sub for d in (data_base_list | 
default([data_base | default('/data/ozone')])) for sub in ['', '/dn', '/meta']] 
}}"
+  loop: "{{ [install_base] + (data_base_list | default([data_base | 
default('/data/ozone')]) | product(['', '/dn', '/meta']) | map('join', '') | 
list) }}"
   become: true
 
 - name: "Ensure OZONE_HOME and PATH are in profile.d/ozone.sh"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to