|
|
|
@ -88,14 +88,13 @@
|
|
|
|
|
line: " 'overwrite.cli.url' => 'https://{{ domain }}',"
|
|
|
|
|
validate: /usr/bin/php %s
|
|
|
|
|
|
|
|
|
|
- name: Configure Nextcloud APCu cache
|
|
|
|
|
- name: Add additional entries to Nextcloud config
|
|
|
|
|
become_user: "{{ system_user }}"
|
|
|
|
|
lineinfile:
|
|
|
|
|
blockinfile:
|
|
|
|
|
path: "{{ nextcloud_config }}"
|
|
|
|
|
firstmatch: yes
|
|
|
|
|
insertafter: "^(\\s*)'overwrite\\.cli\\.url' => '.*',$"
|
|
|
|
|
regexp: "^(\\s*)'memcache.local' => '.*',$"
|
|
|
|
|
line: " 'memcache.local' => '\\\\OC\\\\Memcache\\\\APCu',"
|
|
|
|
|
insertbefore: "^\\);"
|
|
|
|
|
block: |
|
|
|
|
|
'memcache.local' => '\\OC\\Memcache\\APCu',
|
|
|
|
|
validate: /usr/bin/php %s
|
|
|
|
|
|
|
|
|
|
- name: Install Nextcloud apps
|
|
|
|
|