瀏覽代碼

Merge pull request #549 from mikeashley/owncloud-tweak

Remove unnecessary ownCloud configuration
Mike Ashley 8 年之前
父節點
當前提交
f7784c3b55
共有 1 個檔案被更改,包括 1 行新增7 行删除
  1. 1
    7
      roles/owncloud/tasks/owncloud.yml

+ 1
- 7
roles/owncloud/tasks/owncloud.yml 查看文件

@@ -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

Loading…
取消
儲存