|
|
|
@ -89,6 +89,17 @@
|
|
|
|
|
line: "\\1'overwrite.cli.url' => 'https://{{ domain }}',"
|
|
|
|
|
validate: /usr/bin/php %s
|
|
|
|
|
|
|
|
|
|
- name: Configure Nextcloud APCu cache
|
|
|
|
|
become_user: "{{ system_user }}"
|
|
|
|
|
lineinfile:
|
|
|
|
|
backrefs: yes
|
|
|
|
|
path: "{{ nextcloud_config }}"
|
|
|
|
|
firstmatch: yes
|
|
|
|
|
insertafter: "'overwrite\\.cli\\.url'"
|
|
|
|
|
regexp: "^(\\s*)'memcache.local' => '.*',$"
|
|
|
|
|
line: "\\1'memcache.local' => '\\\\OC\\\\Memcache\\\\APCu',"
|
|
|
|
|
validate: /usr/bin/php %s
|
|
|
|
|
|
|
|
|
|
- name: Install Nextcloud apps
|
|
|
|
|
become_user: "{{ system_user }}"
|
|
|
|
|
command: "/usr/bin/php occ app:install {{ item | quote }}"
|
|
|
|
|