Alternative ansible implementation
This is my basic idea. We just take the same files we have now, but instead of git cloning on the server, we copy them over with Ansible.
Very much work in progress, I havent even tested it yet.
TODO:
-
basic installation -
nginx config files -
generate random passwords -
scripts and static config files (need to find alternative for synchronize
) -
docker-compose.yml (diff not working with assemble task
) -
check dns entries etc (can probably copy this from !48 (closed)) -
cronjobs -
using grep, remove all lines containing SALT_CRON_IDENTIFIER
-
add cronjobs added from salt into ansible, with state=absent
if needed
-
-
execute postinstall
-
-
onlyoffice installation -
nginx config -
correct docker-compose.yml
-
-
setup a fresh server with ansible to make sure nothing is missing -
split ansible config into multiple files -
on existing server, read passwords from server instead of generating new ones -
run against existing server to see how it goes -
add uninstall script -
update documentation for ansible -
deal with multi domain setup -
migrate selfhosting installation to user_backend_sql_raw login -
install user_backend_sql_raw plugin -
update nextcloud config - maybe let users do the config change manually
-
Edited by Felix