|
@@ -43,5 +43,9 @@
|
43
|
43
|
template: src=etc_apache2_sites-available_owncloud.j2 dest=/etc/apache2/sites-available/owncloud.conf group=root
|
44
|
44
|
notify: restart apache
|
45
|
45
|
|
|
46
|
+- name: Enable ownCloud site
|
|
47
|
+ command: a2ensite owncloud.conf creates=/etc/apache2/sites-enabled/owncloud.conf
|
|
48
|
+ notify: restart apache
|
|
49
|
+
|
46
|
50
|
- name: Install ownCloud cronjob
|
47
|
51
|
cron: name="ownCloud" user="www-data" minute="*/5" job="php -f /var/www/owncloud/cron.php > /dev/null"
|