gdcc / dataverse-ansible

Ansible role for installing Dataverse
GNU General Public License v3.0
18 stars 21 forks source link

role apparently doesn't support multiple storage IDs #39

Closed donsizemore closed 1 year ago

donsizemore commented 4 years ago

https://github.com/GlobalDataverseCommunityConsortium/dataverse-ansible/blob/master/tasks/dataverse-storage.yml#L27

TASK [dataverse : calculate config lines to delete for filestores] *************TASK [dataverse : calculate config lines to delete for labels] *****************
ok: [localhost] => (item=s3)TASK [calculate required changes to dataverse_filestore type entries] **********
ok: [localhost] => (item=s3)
ok: [localhost] => (item=file)TASK [calculate required changes to dataverse_filestore type entries] **********
ok: [localhost] => (item=file)TASK [dataverse : delete storage config options] *******************************
changed: [localhost] => (item=-Ddataverse.files.storage-driver-id=s3)
changed: [localhost] => (item=-Ddataverse.files.s3.label=s3)TASK [payara should own dataverse.filesdirs] ***********************************
changed: [localhost] => (item={'label': 'file', 'path': '/usr/local/dvn/data'})

We should allow multiple filestores, and make the storage ID a separate parameter.

donsizemore commented 1 year ago

closed in #41