From 377856e064c9fba862c3de87e9d3c5d7e6fed7e4 Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 9 Jun 2022 15:14:48 +0200 Subject: [PATCH] nextcloud: Verlinke PHP-Konfiguration statt sie zu kopieren --- tasks/common.yml | 6 ++++++ tasks/php.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tasks/common.yml b/tasks/common.yml index d1460f6..d110f41 100644 --- a/tasks/common.yml +++ b/tasks/common.yml @@ -24,7 +24,13 @@ - name: "common | Kopiere PHP-CLI-Konfiguration" copy: src: ../roles/nextcloud/files/30-sao-nextcloud.ini + dest: "/etc/php/{{ php_version.stdout }}/mods-available/sao-nextcloud.ini" + +- name: "common | Aktiviere PHP-CLI-Konfiguration" + file: + src: "/etc/php/{{ php_version.stdout }}/mods-available/sao-nextcloud.ini" dest: "/etc/php/{{ php_version.stdout }}/cli/conf.d/30-sao-nextcloud.ini" + state: link - name: "common | Kopiere Update-Skript" template: diff --git a/tasks/php.yml b/tasks/php.yml index 6bce969..5a1f87f 100644 --- a/tasks/php.yml +++ b/tasks/php.yml @@ -15,4 +15,4 @@ owner: root group: root mode: 0644 - notify: restart phpfpm \ No newline at end of file + notify: restart phpfpm