I try to configure nextcloud via ansible. So I can use only occ. Problem is I need to set multiple Values in ldapBaseUsers. I.e the output of occ ldap:show-config --output=json-pretty
Should look like this:
- ldapBaseUsers
- foo
- baa
However via occ ldap:set-config ldapBaseUsers foo
I can only set one value. Anyone any idea how to add a second value to the array ?
I tried occ ldap:set-config ldapBaseUsers foo baa
which gives an error about to many Arguments and ... "foo baa"
... "foo\nbaa"
... '["foo","baa"]'
which all create one Element with the literal string.
Thanks for any help.