"Set folder permissions" task fails for new crews
While rolling out a new crew, the "Set folder permissions" task fails with the following error:
failed: [cloud.cccv.de] (item=[{'name': 'crew_gsm', 'groups': ['crew_gsm'], 'quota': '1073741274'}, 'crew_gsm']) => {"ansible_loop_var": "item", "changed": true, "cmd": ["nextcloud-occ", "groupfolders:group", "105", "crew_gsm", "write", "share", "delete"], "delta": "0:00:00.233187", "end": "2022-06-01 17:04:03.167397", "item": [{"groups": ["crew_gsm"], "name": "crew_gsm", "quota": "1073741274"}, "crew_gsm"], "msg": "non-zero return code", "rc": 255, "start": "2022-06-01 17:04:02.934210", "stderr": "", "stderr_lines": [], "stdout": "group not found: crew_gsm", "stdout_lines": ["group not found: crew_gsm"]}
Adding the group manually resolves the issue so it seems like ansible fails or misses to create the group.
Edited by psy