From 33a203cc94f7bcd67a659c5ef348eb5f160cbc4b Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 29 Dec 2020 09:11:57 -0600 Subject: [PATCH] Reorganize /var/www on web1 --- playbooks/web.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/playbooks/web.yml b/playbooks/web.yml index f145713..5b2c1c7 100755 --- a/playbooks/web.yml +++ b/playbooks/web.yml @@ -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