add ansible roles

This commit is contained in:
Petar Cubela
2025-08-08 11:43:31 +02:00
parent 93917b9483
commit b5a412c14e
17 changed files with 288 additions and 0 deletions

16
nextcloud/tasks/php.yml Normal file
View File

@@ -0,0 +1,16 @@
---
- name: Adjust OpCache memory setting.
lineinfile:
dest: "/etc/php/{{ php_version }}/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