mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 17:31:36 +01:00
fix: correctly set apcu php mod
This commit is contained in:
@@ -60,6 +60,11 @@
|
|||||||
name: slapd-custom
|
name: slapd-custom
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
|
- name: restart php-fpm
|
||||||
|
systemd:
|
||||||
|
name: php8.2-fpm
|
||||||
|
state: restarted
|
||||||
|
|
||||||
- name: daemon reload
|
- name: daemon reload
|
||||||
systemd:
|
systemd:
|
||||||
daemon-reload: yes
|
daemon-reload: yes
|
||||||
|
|||||||
@@ -34,3 +34,10 @@
|
|||||||
dest: /etc/nginx/sites-enabled/nextcloud.conf
|
dest: /etc/nginx/sites-enabled/nextcloud.conf
|
||||||
notify:
|
notify:
|
||||||
- reload nginx
|
- reload nginx
|
||||||
|
|
||||||
|
- name: Deploy apcu ini
|
||||||
|
template:
|
||||||
|
src: apcu.ini
|
||||||
|
dest: /etc/php/8.2/mods-available/apcu.ini
|
||||||
|
notify:
|
||||||
|
- restart php-fpm
|
||||||
|
|||||||
2
roles/nextcloud/templates/apcu.ini
Normal file
2
roles/nextcloud/templates/apcu.ini
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
extension=apcu.so
|
||||||
|
apc.enable_cli=1
|
||||||
Reference in New Issue
Block a user