You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ss...@apache.org on 2026/02/19 17:21:38 UTC

(ozone-installer) 02/02: Fix multiple disk parsing

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 <ss...@cloudera.com>
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: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org