Trying to automate deployment with Ansible

Solved

Hello, as the title says I am trying to automate deployment with Ansible but I am running into a couple of problems.

It seems that a lot of the data is not stored in the database, and I am having trouble finding where it is located.

Specifically I am looking for the data that is input during the setup wizard, the data that is under the "Customize" tab, and the data that is under the "System Settings" tab (auth, SSO, etc).

Can anybody help me out? I've been told the API might be able to help with the setup wizard at least, but I can't seem to find documentation on it.

Thanks in advance!

Posted Jun 13, 2021, 8:25 PM UTC

44
completion97•

You can access the api docs by going to /docs/ on your organizr install (so https://yourorganizr.com/docs/).

Have you checked the config.php file? Mine is in the same folder as the .db file and has lots of options.

One way this can be achieved is instead of having ansible configure organizr directly, just have ansible restore a backup that is already configured. Thats not nearly as versatile though.

3
[deleted]•

[deleted]

2
causefxThat Dude•

/api/config/config.php

3
[deleted]•

[deleted]

1