From df3fbd0922975904a7b4d074d7bc4465ffec0387 Mon Sep 17 00:00:00 2001 From: Steve Brasier Date: Tue, 13 Feb 2024 11:25:57 +0000 Subject: [PATCH 1/3] allow mounting project manila shares with more than one access rule --- workstation.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/workstation.yml b/workstation.yml index 20f5416..dd6f968 100644 --- a/workstation.yml +++ b/workstation.yml @@ -60,6 +60,7 @@ vars: os_manila_mount_shares: - share_name: azimuth-project-share + share_user: "{{ cluster_project_manila_share_user }}" mount_path: /project mount_user: root mount_group: root From 7a35e6496ea1636b1318969e12a4259f184858a4 Mon Sep 17 00:00:00 2001 From: Steve Brasier Date: Tue, 13 Feb 2024 11:53:07 +0000 Subject: [PATCH 2/3] fallback to autodetection of share_user if cluster_project_manila_share_user not defined --- workstation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workstation.yml b/workstation.yml index dd6f968..0e04612 100644 --- a/workstation.yml +++ b/workstation.yml @@ -60,7 +60,7 @@ vars: os_manila_mount_shares: - share_name: azimuth-project-share - share_user: "{{ cluster_project_manila_share_user }}" + share_user: "{{ cluster_project_manila_share_user | default(omit) }}" mount_path: /project mount_user: root mount_group: root From ddd51aa58d752571a7afbfbfddb721b0c86f918f Mon Sep 17 00:00:00 2001 From: John Garbutt Date: Wed, 14 Feb 2024 10:44:30 +0000 Subject: [PATCH 3/3] Pick up the share name too --- workstation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workstation.yml b/workstation.yml index 0e04612..fb564f5 100644 --- a/workstation.yml +++ b/workstation.yml @@ -59,7 +59,7 @@ become: yes vars: os_manila_mount_shares: - - share_name: azimuth-project-share + - share_name: "{{ cluster_project_manila_share_name | default('azimuth-project-share') }}" share_user: "{{ cluster_project_manila_share_user | default(omit) }}" mount_path: /project mount_user: root