Files
ansible-office/roles/owncloud/tasks/php.yml

17 lines
438 B
YAML

---
- name: Adjust OpCache memory setting.
lineinfile:
dest: "/etc/php/7.4/apache2/conf.d/10-opcache.ini"
regexp: "^opcache.memory_consumption"
line: "opcache.memory_consumption = 96"
state: present
notify: restart apache
- name: Adjust smbclient setting.
template:
src: "templates/smbclient.ini.j2"
dest: "/etc/php/7.4/mods-available/smbclient.ini"
owner: root
group: root
notify: restart apache