summaryrefslogtreecommitdiff
path: root/roles/elevate/media/tasks/nextcloud.yml
blob: e24bf32d6c1433f8df5a68fddf97ab3d69a784cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
## TODO: include role: apps/nextcloud

# - name: configure nextcloud upload file size limit
#   loop:
#   - upload_max_filesize
#   - post_max_size
#   lineinfile:
#     path: /srv/nextcloud/www/.user.ini
#     regexp: '^{{ item }}='
#     line: '{{ item }}={{ nextcloud_max_upload_size }}'

# - name: configure nextcloud memory limit
#   lineinfile:
#     path: /srv/nextcloud/www/.user.ini
#     regexp: '^memory_limit='
#     line: 'memory_limit={{ nextcloud_memory_limit }}'

# - name: basic nextcloud config
#   import_tasks: nextcloud-config.yml

# - name: install nextcloud rescan systemd units
#   loop:
#   - service
#   - timer
#   template:
#     src: "nextcloud-rescan.{{ item }}.j2"
#     dest: "/etc/systemd/system/nextcloud-rescan.{{ item }}"

# - name: make sure nextcloud rescan systemd timer are started and enabled
#   systemd:
#     name: "nextcloud-rescan.timer"
#     state: started
#     enabled: yes
#     daemon_reload: yes