ソースを参照

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

読み込み中…
キャンセル
保存