From f96fdf8fb16ff3a00366ad9c1ed19b321943e9f8 Mon Sep 17 00:00:00 2001 From: David Kirwan Date: Mon, 12 Sep 2022 13:38:52 +0100 Subject: [PATCH] communishift: fix filesystem permissions on efs storage mount Signed-off-by: David Kirwan Signed-off-by: Lenka Segura Signed-off-by: Patrik Polakovic --- roles/communishift/library/communishift_storage_efs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/communishift/library/communishift_storage_efs.py b/roles/communishift/library/communishift_storage_efs.py index 081d15275a..8eb9521575 100644 --- a/roles/communishift/library/communishift_storage_efs.py +++ b/roles/communishift/library/communishift_storage_efs.py @@ -135,9 +135,10 @@ def run_module(): PosixUser={ "Uid": 1001, "Gid": 1001, + "SecondaryGids": [ 0 ], }, RootDirectory={ - "Path": "/", + "Path": f"/{ module.params["project_name"] }", "CreationInfo": { "OwnerUid": 0, "OwnerGid": 0,