소스 검색

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

Loading…
취소
저장