Kaynağa Gözat

auto install and enable the calendar and contacts nextcloud apps to enable CalDAV and CardDAV.

Thomas Buck 5 yıl önce
ebeveyn
işleme
7a6f820678
1 değiştirilmiş dosya ile 16 ekleme ve 0 silme
  1. 16
    0
      roles/nextcloud/tasks/nextcloud.yml

+ 16
- 0
roles/nextcloud/tasks/nextcloud.yml Dosyayı Görüntüle

@@ -87,6 +87,22 @@
87 87
     chdir: /var/www/nextcloud
88 88
     creates: /var/www/nextcloud/config/config.php
89 89
 
90
+- name: Install NextCloud contacts app
91
+  become: true
92
+  become_user: www-data
93
+  command: php occ app:install contacts
94
+  args:
95
+    chdir: /var/www/nextcloud
96
+    creates: /var/www/nextcloud/apps/contacts/COPYING
97
+
98
+- name: Install NextCloud calendar app
99
+  become: true
100
+  become_user: www-data
101
+  command: php occ app:install calendar
102
+  args:
103
+    chdir: /var/www/nextcloud
104
+    creates: /var/www/nextcloud/apps/calendar/COPYING
105
+
90 106
 - name: Add our domains to the NextCloud trusted domains
91 107
   lineinfile:
92 108
     path: /var/www/nextcloud/config/config.php

Loading…
İptal
Kaydet