add ansible roles

This commit is contained in:
Petar Cubela
2025-08-08 11:43:31 +02:00
parent 93917b9483
commit b5a412c14e
17 changed files with 288 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<VirtualHost *:80>
ServerName {{ hostname }}.{{ domain_base }}
DirectoryIndex index.php index.html
DocumentRoot {{ web_root }}
<Directory {{ web_root }}>
Options FollowSymLinks MultiViews
AllowOverride All
Require all granted
<IfModule mod_dav.c>
Dav off
</IfModule>
#SetEnv HOME {{ web_root }}
#SetEnv HTTP_HOME {{ web_root }}
</Directory>
</VirtualHost>

View File

@@ -0,0 +1,4 @@
#!/bin/bash
cd /var/www/nextcloud || exit
sudo -E -u www-data /usr/bin/php /var/www/nextcloud/occ "$@"