Move data directories for NC and Gitea to /srv

Allows for mountpoints yadda yadda
This commit is contained in:
Salt 2020-12-30 18:05:57 -06:00
parent 2d7d1e0db6
commit 198722b71e

View File

@ -10,6 +10,7 @@
- /var/lib/gitea - /var/lib/gitea
- /var/www/nc.desu.ltd - /var/www/nc.desu.ltd
- /var/www/www.9iron.club/files - /var/www/www.9iron.club/files
- /srv/desu.ltd
become: yes become: yes
tags: [ backup ] tags: [ backup ]
- role: certbot - role: certbot
@ -149,6 +150,7 @@
- role: nextcloud - role: nextcloud
vars: vars:
nextcloud_installation_dir: /var/www/nc.desu.ltd nextcloud_installation_dir: /var/www/nc.desu.ltd
nextcloud_data_dir: /srv/desu.ltd/nc
nextcloud_admin_user: admin nextcloud_admin_user: admin
nextcloud_admin_pass: "{{ secret_nextcloud_admin_pass }}" nextcloud_admin_pass: "{{ secret_nextcloud_admin_pass }}"
nextcloud_version: 19 nextcloud_version: 19
@ -180,6 +182,7 @@
gitea_db_password: "{{ secret_gitea_db_pass }}" gitea_db_password: "{{ secret_gitea_db_pass }}"
gitea_http_domain: git.desu.ltd gitea_http_domain: git.desu.ltd
gitea_oauth2_enabled: no gitea_oauth2_enabled: no
gitea_repository_root: /srv/desu.ltd/git
gitea_root_url: https://git.desu.ltd gitea_root_url: https://git.desu.ltd
gitea_shell: "/bin/bash" gitea_shell: "/bin/bash"
gitea_ssh_domain: git.desu.ltd gitea_ssh_domain: git.desu.ltd