summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/nextcloud/tasks/main.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/nextcloud/tasks/main.yml b/roles/nextcloud/tasks/main.yml
index 9a0a47a..69a662d 100644
--- a/roles/nextcloud/tasks/main.yml
+++ b/roles/nextcloud/tasks/main.yml
@@ -28,9 +28,19 @@
with_items:
- { var: opcache.memory_consumption, value: 512 }
- { var: opcache.revalidate_freq, value: 180 }
+ - { var: opcache.interned_strings_buffer, value: 12 }
notify:
- Restart php7.4-fpm
+- name: Configure PHP 7.4 CLI
+ lineinfile: dest=/etc/php/7.4/cli/php.ini
+ regexp='^;?{{ item.var }}\\s*='
+ line="{{ item.var }} = {{ item.value }}"
+ owner=root group=root
+ mode=0644
+ with_items:
+ - { var: apc.enable_cli, value: 1 }
+
- name: Create '_nextcloud' user
user: name=_nextcloud system=yes
group=nogroup