浏览代码

Remove unnecessary ownCloud configuration

The ownCloud configuration file does not get touched.  The virtual host
configuration is modified by sovereign but can be updated in place and
Apache restarted.
Mike Ashley 8 年前
父节点
当前提交
2243dd73a4
共有 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

正在加载...
取消
保存