Reorganize /var/www on web1

This commit is contained in:
Salt 2020-12-29 09:11:57 -06:00
parent 1710d1108b
commit 33a203cc94

View File

@ -32,12 +32,12 @@
Redirect permanent / https://git.desu.ltd
apache_vhosts_ssl:
- servername: nc.desu.ltd
documentroot: /var/www/html/nextcloud
documentroot: /var/www/nc.desu.ltd
certificate_file: /etc/letsencrypt/live/desu.ltd/fullchain.pem
certificate_key_file: /etc/letsencrypt/live/desu.ltd/privkey.pem
certificate_chain_file: /etc/letsencrypt/live/desu.ltd/chain.pem
- servername: desu.ltd
documentroot: /var/www/html/desu.ltd
documentroot: /var/www/desu.ltd
certificate_file: /etc/letsencrypt/live/desu.ltd/fullchain.pem
certificate_key_file: /etc/letsencrypt/live/desu.ltd/privkey.pem
certificate_chain_file: /etc/letsencrypt/live/desu.ltd/chain.pem
@ -88,11 +88,12 @@
vars:
git_repos:
- repo: https://git.9iron.club/salt/desultd
dest: /var/www/html/desu.ltd
dest: /var/www/desu.ltd
become: yes
tags: [ web, git ]
- role: nextcloud
vars:
nextcloud_installation_dir: /var/www/nc.desu.ltd
nextcloud_admin_user: admin
nextcloud_admin_pass: "{{ secret_nextcloud_admin_pass }}"
nextcloud_version: 19