fixed opcache config write

This commit is contained in:
Ebbe Baß
2026-07-16 10:42:01 +02:00
parent 92266e6e4b
commit 248bde2b9a
@@ -148,6 +148,10 @@
- name: Enable OPcache settings - name: Enable OPcache settings
ansible.builtin.blockinfile: ansible.builtin.blockinfile:
path: "/etc/php/{{ nc_php_version }}/apache2/conf.d/10-opcache.ini" path: "/etc/php/{{ nc_php_version }}/apache2/conf.d/10-opcache.ini"
create: true
owner: root
group: root
mode: "0644"
block: | block: |
opcache.enable=1 opcache.enable=1
opcache.interned_strings_buffer=32 opcache.interned_strings_buffer=32