|
@@ -39,14 +39,8 @@
|
39
|
39
|
command: mv /var/www/owncloud/data /decrypted/owncloud-data creates=/decrypted/owncloud-data
|
40
|
40
|
- file: src=/decrypted/owncloud-data dest=/var/www/owncloud/data owner=www-data group=www-data state=link
|
41
|
41
|
|
42
|
|
-- name: Remove conf-enabled/owncloud symlink
|
43
|
|
- file: path=/etc/apache2/conf-enabled/owncloud.conf state=absent
|
44
|
|
- notify: restart apache
|
45
|
|
-
|
46
|
|
-- name: Configure the Apache HTTP server for ownCloud
|
|
42
|
+- name: Configure Apache for ownCloud
|
47
|
43
|
template: src=etc_apache2_sites-available_owncloud.j2 dest=/etc/apache2/sites-available/owncloud.conf group=root
|
48
|
|
-- name: Enable the owncloud site
|
49
|
|
- command: a2ensite owncloud.conf creates=/etc/apache2/sites-enabled/owncloud.conf
|
50
|
44
|
notify: restart apache
|
51
|
45
|
|
52
|
46
|
- name: Install ownCloud cronjob
|